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

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

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! 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group