Open erenarkangil opened 3 years ago
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.
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?
.score
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.