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
Honored Contributor II
Honored Contributor II

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
Honored Contributor II
Honored Contributor II

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 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!