question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
AhmedEwiscommented, May 17, 2022

@freddyaboulton still getting the same error, you can modify the notebook and share it with me.

0reactions
freddyaboultoncommented, May 18, 2022

You’re welcome @AhmedEwis !

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found