modAL icon indicating copy to clipboard operation
modAL copied to clipboard

BayesianOptimizer gives negative accuracy

Open erenarkangil opened this issue 4 years ago • 1 comments

Hi,

I implemented the sample code here :

https://modal-python.readthedocs.io/en/latest/content/apireference/models.html

However, when i switched X(training data in the sample code) to X = np.linspace(0, 22, 1000).reshape(-1, 1)

optimizer.score(X, y) gives me ''-2.267766614571299''

Kind Regards, Eren.

erenarkangil avatar Jan 28 '21 14:01 erenarkangil

Hi!

The .score method is just an interface for the .score method of the classifier, so I am not sure what is the problem. Which estimator do you use?

cosmic-cortex avatar Jan 31 '21 08:01 cosmic-cortex