Comments (4)
Thank you for your issue! I have implemented this in #183 and will close this when it gets merged.
from hyperopt-sklearn.
Nice! That was a quick response and nice work with #183.
The above described situation happens also in more general, whenever hpsklearn
's value None
coincides with some optional value of corresponding scikit
function.
E.g. in components._trees_hp_space
you have random_state=None
but this is also possible value or same argument in sklearn.ensemble.RandomForestRegressor
.
Second example is in your new rewrite_for_sklearn1.0.0 branch in function components.ensemble.forest._forest_hp_space
the argument max_leaf_nodes=None
, since it coincides with the default parameter of Random Forest function in scikit
.
So there may be more possible improvements of this kind.
from hyperopt-sklearn.
Fixing the random_state
parameter makes much sense in most applications.
- It ensures that the splits that are generated are reproducible.
- Most importantly, it ensures that the improvements are actual improvements and not improvements by pure chance.
For a more in-depth explanation on this I would suggest checking out this towardsdatascience article by Ler Wei Han.
I will take a look at the ensemble optimizers and implement your solution in the next few days. Thanks again for raising concern on this.
from hyperopt-sklearn.
Now that it's merged I'll go ahead and close this.
Thank you for raising an issue and feel free to let us know if you find any bugs or other issues.
from hyperopt-sklearn.
Related Issues (20)
- AttributeError: 'numpy.random.mtrand.RandomState' object has no attribute 'integers' HOT 8
- install requirment HOT 2
- Update pypi project page HOT 1
- No module named "hpsklearn.estimator" HOT 15
- AttributeError: module 'hyperopt' has no attribute 'pyll' HOT 1
- Any Advice on Avoiding 'NaN' errors HOT 10
- module 'hyperopt.pyll' has no attribute 'base' HOT 2
- distribute via gh vs pypi? HOT 1
- Catboost classification and regression HOT 2
- InvalidParameterError, possible package version issue? HOT 2
- Add link to license in readme
- Hyperopt with multioutput
- Seeking advice on adapting a normal sklearn pipeline/search space to Hyperopt
- InvalidParameterError when running the classifier HOT 2
- Hyperopt for linear_svc provided sub optimal hyperparameters than the default parameters of scikit-learn. HOT 2
- Add LICENSE to PyPi sdist HOT 1
- gradient_boosting_regressor loss HOT 1
- ImportError: No module named xgboost HOT 1
- Iris and MNIST example don't behave as in the comment and give error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperopt-sklearn.