cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

ImportError: cannot import name 'FMIN_CANCELLED_REASON_EARLY_STOPPING' from 'hyperopt.spark'

536750
New Contributor II

I am trying to run an automl experiment from notebook. The error occurs when I import automl from databricks. Finally the error points to hyperopt. I have tried using the older version of hyperopt as well but nothings working.

1 ACCEPTED SOLUTION

Accepted Solutions

sean_owen
Databricks Employee
Databricks Employee

I'd make sure you're using the latest runtime if you're importing the latest automl, but it should already be in the ML runtime. If you're attaching other versions of this library, remove that. If the problem persists, and you're able, file a ticket.

View solution in original post

2 REPLIES 2

sean_owen
Databricks Employee
Databricks Employee

I'd make sure you're using the latest runtime if you're importing the latest automl, but it should already be in the ML runtime. If you're attaching other versions of this library, remove that. If the problem persists, and you're able, file a ticket.

Anonymous
Not applicable

Hi @Salar Ahmadโ€‹ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance! 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now