garve / scikit-bonus Goto Github PK
View Code? Open in Web Editor NEWscikit-learn extensions that I find useful.
License: BSD 3-Clause "New" or "Revised" License
scikit-learn extensions that I find useful.
License: BSD 3-Clause "New" or "Revised" License
Hi
This looks great. I see you have lots of very cool functionality implemented. Could you push the SimpleTimeFeatures
, please? I assume it would go into skbonus.preprocessing.time
?
Thanks!
This is incredible. It works really well with Isotonic regression to add monotonic constraints to the EBM. The one place is doesn't work as expected is with the positivity constraint ymin=0
. This restricts the model to a minimum value that is equal to the intercept.
Clearly, this totally makes sense mathematically. What it highlights is that there might be a better way to calculate the intercept so that is not an issue. Possibly, self.mean_ = y.min()
in this strictly positive context?
Currently, in the EBM and your mEBM, the simplest solution is to do a constant shift in the y-axis from the minimum value to zero, for each variable, and then update the intercept accordingly:
mins = [np.min(feat) for feat in mebm.outputs_]
mebm.outputs_ = [feat - m for feat, m in zip(mebm.outputs_, mins)]
mebm.mean_ = mebm.mean_ + np.sum(mins)
Anyway, amazing stuff and hopefully these findings/issues/solutions are useful ๐
great code thanks
onoy
punish overestimations by the model 5 times Garve/scikit-bonus: scikit-learn extensions that I find useful.
may you share links to theory behind this code
or just create some blog post pls?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.