<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run with UUID *** is already active when running automl in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/run-with-uuid-is-already-active-when-running-automl/m-p/17231#M933</link>
    <description>&lt;P&gt;@Al IDI​&amp;nbsp;- could you please let us know the ML runtime version you have ran into this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please try setting and see if it works? &lt;/P&gt;&lt;P&gt;spark.conf.set("spark.databricks.mlflow.trackHyperopt.enabled", "false")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2023 16:08:49 GMT</pubDate>
    <dc:creator>shan_chandra</dc:creator>
    <dc:date>2023-01-31T16:08:49Z</dc:date>
    <item>
      <title>Run with UUID *** is already active when running automl</title>
      <link>https://community.databricks.com/t5/machine-learning/run-with-uuid-is-already-active-when-running-automl/m-p/17230#M932</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm tried using databricks autoML API following the &lt;A href="https://docs.databricks.com/machine-learning/automl/train-ml-model-automl-api.html?_ga=2.78931988.1442977576.1670762834-1032994898.1658829189" alt="https://docs.databricks.com/machine-learning/automl/train-ml-model-automl-api.html?_ga=2.78931988.1442977576.1670762834-1032994898.1658829189" target="_blank"&gt;documentation and example notebook. The documentation and example are pretty straight forward however&lt;/A&gt; I encountered the following error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Exception: Run with UUID 1315376a0cbb4657b5d23fa552efba4b is already active. To start a new run, first end the current run with mlflow.end_run(). To start a nested run, call start_run with nested=True&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The code I used:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mlflow.end_run()
mlflow.start_run(nested=True,run_name='autoML')
mlflow.autolog()
train_df = pd.DataFrame(preprocessor1.fit_transform(X_train,y_train),columns=preprocessor1.get_feature_names_out())
train_df['target'] = y_train.tolist()
summary = automl.classify(train_df, target_col="target", timeout_minutes=30)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any ideas? Thanks. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:02:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-with-uuid-is-already-active-when-running-automl/m-p/17230#M932</guid>
      <dc:creator>ALIDI</dc:creator>
      <dc:date>2022-12-12T15:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Run with UUID *** is already active when running automl</title>
      <link>https://community.databricks.com/t5/machine-learning/run-with-uuid-is-already-active-when-running-automl/m-p/17231#M933</link>
      <description>&lt;P&gt;@Al IDI​&amp;nbsp;- could you please let us know the ML runtime version you have ran into this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please try setting and see if it works? &lt;/P&gt;&lt;P&gt;spark.conf.set("spark.databricks.mlflow.trackHyperopt.enabled", "false")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 16:08:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-with-uuid-is-already-active-when-running-automl/m-p/17231#M933</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2023-01-31T16:08:49Z</dc:date>
    </item>
  </channel>
</rss>

