-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GEKPLS With Custom PLS Based on SKLearn PLS #359
GEKPLS With Custom PLS Based on SKLearn PLS #359
Conversation
Codecov Report
@@ Coverage Diff @@
## master #359 +/- ##
==========================================
+ Coverage 77.59% 78.89% +1.30%
==========================================
Files 15 16 +1
Lines 2053 2270 +217
==========================================
+ Hits 1593 1791 +198
- Misses 460 479 +19
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
Also, I ran a quick comparison between GEKPLS, Kriging and Radial Basis. Results for the water flow function are below: rmse_rad: 50.399 |
Wow that's awesome! |
nice! Also compare PolyChaos? like in the docs: http://surrogates.sciml.ai/stable/water_flow/? Curious how that stacks up as well. |
rmse_poly: 1.518 |
Set some strict modes in the doc build: https://github.com/SciML/DiffEqSensitivity.jl/blob/v6.79.0/docs/make.jl#L16-L23 |
@ranjanan are you doing the review? |
Ah review didn't get posted. Posted now. |
I'm currently getting an error ("ERROR:
So my understanding is that each page in docs will need to be fixed independently in order to make these tests pass. I will work on these separately and send in other pull requests for documentation not related to GEKPLS. |
Yes that's fine. Note you may need to run the formatter to fix the conflicts. Just do: using JuliaFormatter, Surrogates
format(joinpath(dirname(pathof(Surrogates)), "..")) |
I think this is generally good to merge after conflicts are handled. We can do the docs stuff in a separate PR. And we should open an issue to profile and optimize the implementation, but I don't think there's any major blocking in the code here. |
I ran the JuliaFormatter but the So the condition in the following code may need to be altered?
|
No. You ran the formatter before you rebased to master, so you ran it with the wrong style because it didn't have the |
ec3e885
to
e39d421
Compare
Project.toml
Outdated
@@ -8,9 +8,11 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" | |||
ExtendableSparse = "95c220a8-a1cf-11e9-0c77-dbfce5f500b3" | |||
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a" | |||
IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153" | |||
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be required in the Project?
🎉 thanks for seeing this through, this is a huge step. |
oh I noticed the the formatter CI is gone. I'll just add it back and handle any issue there. |
This version of GEKPLS replaces the SKLearn PLS in the previous version with a modified PLS version based on the SKLearn PLS code. I have also added more tests, additional functionality and documentation.
It does not include code equivalent to SMT's hyperparameter optimization for theta. I plan to work on hyperparameter optimization next as I'm still researching how best to implement it. I intend to submit a separate pull request for hyperparameter optimization.