hyperopt Questions

0

When did I face the problem? I am trying to develop a soft voting classifier by VotingClassifier of sklearn. To tune the hyperparameters of each model used in the VotingClassifier, I want to use th...
Puentes asked 19/3, 2022 at 14:18

2

Solved

I am using python package hyperopt and I have a parameter a which requires to be larger than parameter b. For example, I hope my parameter space is like from hyperopt import hp space = {"b": hp....
Foofaraw asked 29/10, 2018 at 8:28

4

I optimized my keras model using hyperopt. Now how do we save the best optimized keras model and its weights to disk. My code: from hyperopt import fmin, tpe, hp, STATUS_OK, Trials from sklearn....
Doublequick asked 20/1, 2019 at 2:53

3

Solved

This query is referring to usage of trials as an argument in fmin. trials = Trials() best = fmin(objective, space=hp.uniform('x', -10, 10), algo=tpe.suggest, max_evals=100, trials=trials) The d...
Paquette asked 7/3, 2019 at 13:28

1

I tried to apply Bayesian Optimisation to a simple CNN for the MNIST handwritten digits dataset and I'm getting little indication that it works. I've tried doing k-fold validation to smooth out noi...
Tessitura asked 17/1, 2020 at 13:43

1

I am using Python's hyperopt library to perform ML hyperparameters' optimization. In particular I am trying to find lightgbm optimal hyperparameter using this function to minimize: def lgb_objecti...
Turnbow asked 1/2, 2019 at 11:40

1

I'll fully admit that I may be setting up the conditional space wrong here but for some reason, I just can't get this to function at all. I am attempting to use hyperopt to tune a logistic regressi...

1

Solved

I am working on using hyperopt to tune my ML model but having troubles in using the qloguniform as the search space. I am giving the example from official wiki and changed the search space. impor...
Bregenz asked 15/12, 2018 at 3:29

1

Solved

I am trying to use Bayesian optimization (Hyperopt) for obtaining optimal parameters for SVM algorithm. However, I find that the optimal parameters are changing with every run. Provided below is a...
Squat asked 15/12, 2018 at 14:33

2

I want to build a non linear regression model using keras to predict a +ve continuous variable. For the below model how do I select the following hyperparameters? Number of Hidden layers and Neur...
Emissivity asked 21/4, 2017 at 3:45

1

Solved

I used hyperopt to search best parameters for SVM classifier, but Hyperopt says best 'kernel' is '0'. {'kernel': '0'} is obviously unsuitable. Does anyone know whether it's caused by my fault or a...
1

© 2022 - 2024 — McMap. All rights reserved.