<?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 How to search the run id of an experiment run created in another notebook? in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/81898#M3546</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created an experiment using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;with mlflow.start_run(run_name='experment_1'):&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;in a notebook say 'notebook_1'.&amp;nbsp; In the 'Experiments' tab if I click on 'notebook_1', I am able to see 'experiment_1'.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Now I am trying to search the experiment in another notebook using&lt;BR /&gt;&lt;EM&gt;mlflow.search_runs(filter_string='tags.mlflow.runName = "experiment_1"')&lt;/EM&gt; which is giving me&amp;nbsp;None but if I run the same in 'notebook_1' I am able to see the details of the run (even after I Detach &amp;amp; re-attach or restart the cluster)&lt;/P&gt;&lt;P&gt;I have also tried&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;mlflow.search_experiments(filter_string="name = 'experiment_1'")&lt;/EM&gt; and &lt;EM&gt;MlflowClient.search_experiments(filter_string="name = 'experiment_1'")&lt;/EM&gt;&amp;nbsp;but they also giving output None.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 14:07:03 GMT</pubDate>
    <dc:creator>yorabhir</dc:creator>
    <dc:date>2024-08-05T14:07:03Z</dc:date>
    <item>
      <title>How to search the run id of an experiment run created in another notebook?</title>
      <link>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/81898#M3546</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created an experiment using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;with mlflow.start_run(run_name='experment_1'):&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;in a notebook say 'notebook_1'.&amp;nbsp; In the 'Experiments' tab if I click on 'notebook_1', I am able to see 'experiment_1'.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Now I am trying to search the experiment in another notebook using&lt;BR /&gt;&lt;EM&gt;mlflow.search_runs(filter_string='tags.mlflow.runName = "experiment_1"')&lt;/EM&gt; which is giving me&amp;nbsp;None but if I run the same in 'notebook_1' I am able to see the details of the run (even after I Detach &amp;amp; re-attach or restart the cluster)&lt;/P&gt;&lt;P&gt;I have also tried&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;mlflow.search_experiments(filter_string="name = 'experiment_1'")&lt;/EM&gt; and &lt;EM&gt;MlflowClient.search_experiments(filter_string="name = 'experiment_1'")&lt;/EM&gt;&amp;nbsp;but they also giving output None.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 14:07:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/81898#M3546</guid>
      <dc:creator>yorabhir</dc:creator>
      <dc:date>2024-08-05T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the run id of an experiment run created in another notebook?</title>
      <link>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/82063#M3549</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I believe the run name is an attribute, not a tag.&lt;/P&gt;&lt;P&gt;Try:&lt;BR /&gt;my_run = mlflow.search_runs(&lt;BR /&gt;search_all_experiments=True,&lt;BR /&gt;filter_string="attributes.run_name='experiment_1'"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;To search for runs in specific notebooks, you can add "tags.environment='notebook_name'" to the filter string, so the filter string would then be:&lt;BR /&gt;"attributes.run_name='experiment_1' AND tags.enviroment='your_notebook'"&lt;/P&gt;&lt;P&gt;I think your issue with using search_experiments() was that you were providing the name of the &lt;EM&gt;run&lt;/EM&gt; and not the name of the &lt;EM&gt;experiment&lt;/EM&gt;, though I'm not sure if you were using the same name for both.&lt;/P&gt;&lt;P&gt;Here are the docs for &lt;A href="https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.search_runs" target="_self"&gt;mlflow.search_runs()&lt;/A&gt; and &lt;A href="https://mlflow.org/docs/latest/search-experiments.html" target="_self"&gt;mlflow.search_experiments()&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 15:12:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/82063#M3549</guid>
      <dc:creator>atmcqueen</dc:creator>
      <dc:date>2024-08-06T15:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the run id of an experiment run created in another notebook?</title>
      <link>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/82306#M3555</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/115012"&gt;@atmcqueen&lt;/a&gt;&amp;nbsp;, the solution is working.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 05:58:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/how-to-search-the-run-id-of-an-experiment-run-created-in-another/m-p/82306#M3555</guid>
      <dc:creator>yorabhir</dc:creator>
      <dc:date>2024-08-08T05:58:55Z</dc:date>
    </item>
  </channel>
</rss>

