All pipelines in the current AutoML batch produced a score of np.nan on the primary objective <evalml.objectives.standard_metrics.LogLossBinary object at 0x7fd7a5826590>.
See original GitHub issue[Hello, I really want to use EVALML, I am not doing anything, but using the same code from github.]
Code Sample, a copy-pastable example to reproduce your bug.
import evalml
X, y = evalml.demos.load_breast_cancer()
X_train, X_test, y_train, y_test = evalml.preprocessing.split_data(X, y, problem_type='binary')
it runs okay,
but when I run the below code:
from evalml.automl import AutoMLSearch
automl = AutoMLSearch(X_train=X_train, y_train=y_train, problem_type='binary')
automl.search()
I got the below error:
All pipelines in the current AutoML batch produced a score of np.nan on the primary objective <evalml.objectives.standard_metrics.LogLossBinary object at 0x7fd7a5826590>.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Exception during automl search: 'NAType' object has no ...
AutoMLSearchException: All pipelines in the current AutoML batch produced a score of np.nan on the primary objective <evalml.objectives.
Read more >EvalML 0.64.0 documentation - Alteryx
AutoMLSearchException – If all pipelines in the current AutoML batch produced a score of np.nan on the primary objective. Returns. Dictionary keyed by...
Read more >Objectives — EvalML 0.64.0 documentation - Alteryx
In EvalML, these metrics are called objectives. AutoML will seek to minimize (or maximize) the objective score as it explores more pipelines and...
Read more >EvalML Documentation - Alteryx
EvalML is an AutoML library that builds, optimizes, and evaluates machine learning pipelines using domain-specific objective functions. Combined ...
Read more >Automated Machine Learning (AutoML) Search - EvalML
AutoML is the process of automating the construction, training and evaluation of ML models. Given a data and some configuration, AutoML searches for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@freddyaboulton still getting the same error, you can modify the notebook and share it with me.
You’re welcome @AhmedEwis !