Closed chMoussa closed 7 years ago
Be careful with the function "evaluate" : it is used only to evaluate a given dictionnary of parameters and not to optimise your Pipeline in a given space ! If you want to do so, please use the function "optimise"...
Hi,
When running with None in optimizer, it works and give scores for roc_auc. But when specifying a space of parameters, I get this:
MEAN SCORE : accuracy = -inf VARIANCE : nan (fold 1 = -inf, fold 2 = -inf, fold 3 = -inf, fold 4 = -inf, fold 5 = -inf) CPU time: 0.561537027359 seconds
The following code was used:
space = { 'ne__numerical_strategy' : {"search":"choice", "space":[0, 'mean']},
opt = Optimiser(scoring="accuracy",n_folds=5) best = opt.evaluate(space, data)
I do not understand why but may you help figure it out?