<?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: How to read artifact file (CSV) programmatically? in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/how-to-read-artifact-file-csv-programmatically/m-p/17826#M980</link>
    <description>&lt;P&gt;Maybe there are better solutions, here is what I've found:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;from mlflow.tracking import MlflowClient
&amp;nbsp;
client = MlflowClient()
pd.read_csv(client.download_artifacts(run_id, "xgb-classifier-test-8/dataset_statistics.csv"))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jun 2022 23:48:14 GMT</pubDate>
    <dc:creator>Giorgi</dc:creator>
    <dc:date>2022-06-12T23:48:14Z</dc:date>
    <item>
      <title>How to read artifact file (CSV) programmatically?</title>
      <link>https://community.databricks.com/t5/machine-learning/how-to-read-artifact-file-csv-programmatically/m-p/17825#M979</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can I programmatically access artifact file (csv), via artifact_uri and read it?&lt;/P&gt;&lt;P&gt;Tried the following, but didn't work, says no such file or directory:&lt;/P&gt;&lt;P&gt;mlflow.pyfunc.pandas.read_csv(artifact_uri+'/xgb-classifier-test-8/dataset_statistics.csv')&lt;/P&gt;&lt;P&gt;pandas.read_csv(artifact_uri+'/xgb-classifier-test-8/dataset_statistics.csv')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2022 23:04:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/how-to-read-artifact-file-csv-programmatically/m-p/17825#M979</guid>
      <dc:creator>Giorgi</dc:creator>
      <dc:date>2022-06-12T23:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to read artifact file (CSV) programmatically?</title>
      <link>https://community.databricks.com/t5/machine-learning/how-to-read-artifact-file-csv-programmatically/m-p/17826#M980</link>
      <description>&lt;P&gt;Maybe there are better solutions, here is what I've found:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;from mlflow.tracking import MlflowClient
&amp;nbsp;
client = MlflowClient()
pd.read_csv(client.download_artifacts(run_id, "xgb-classifier-test-8/dataset_statistics.csv"))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2022 23:48:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/how-to-read-artifact-file-csv-programmatically/m-p/17826#M980</guid>
      <dc:creator>Giorgi</dc:creator>
      <dc:date>2022-06-12T23:48:14Z</dc:date>
    </item>
  </channel>
</rss>

