<?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 Feature Store with Spark Pipeline in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/feature-store-with-spark-pipeline/m-p/60442#M2574</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using a spark pipeline having stages VectoreAssembler, StandardScalor, StringIndexers, VectorAssembler, GbtClassifier. And then logging this pipeline using feature store log_model function as follows:&lt;/P&gt;&lt;P&gt;fe = FeatureStoreClient() // I have tried this using FeatureStoreEngineeringClient too&lt;/P&gt;&lt;P&gt;After defining lookups and creating a training_set, I am logging this model using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;fe.log_model ( model=model_pipeline, artifact_path = "test_model", flavor = mlflow.spark, training_set = training_set, registered_model_name = "registery_name")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After logging this model, I am using fe.score function to get results on my test data. But I am getting the following error:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6302i78114D1679D05535/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2024 20:21:45 GMT</pubDate>
    <dc:creator>haseeb2001</dc:creator>
    <dc:date>2024-02-16T20:21:45Z</dc:date>
    <item>
      <title>Feature Store with Spark Pipeline</title>
      <link>https://community.databricks.com/t5/get-started-discussions/feature-store-with-spark-pipeline/m-p/60442#M2574</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using a spark pipeline having stages VectoreAssembler, StandardScalor, StringIndexers, VectorAssembler, GbtClassifier. And then logging this pipeline using feature store log_model function as follows:&lt;/P&gt;&lt;P&gt;fe = FeatureStoreClient() // I have tried this using FeatureStoreEngineeringClient too&lt;/P&gt;&lt;P&gt;After defining lookups and creating a training_set, I am logging this model using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;fe.log_model ( model=model_pipeline, artifact_path = "test_model", flavor = mlflow.spark, training_set = training_set, registered_model_name = "registery_name")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After logging this model, I am using fe.score function to get results on my test data. But I am getting the following error:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6302i78114D1679D05535/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 20:21:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/feature-store-with-spark-pipeline/m-p/60442#M2574</guid>
      <dc:creator>haseeb2001</dc:creator>
      <dc:date>2024-02-16T20:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Store with Spark Pipeline</title>
      <link>https://community.databricks.com/t5/get-started-discussions/feature-store-with-spark-pipeline/m-p/61140#M2657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;, thanks for your response.&lt;/P&gt;&lt;P&gt;The issue I am facing is during fe.score_batch. I have tried logging this pipeline using mlflow only and then tested it for inference too and it worked fine. The issue appears only when I use feature store batch scoring.&lt;/P&gt;&lt;P&gt;I have noticed that when I applied score it used python_function as the backend flavor, while I have registered my model using spark flavor. Any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 15:35:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/feature-store-with-spark-pipeline/m-p/61140#M2657</guid>
      <dc:creator>haseeb2001</dc:creator>
      <dc:date>2024-02-19T15:35:25Z</dc:date>
    </item>
  </channel>
</rss>

