<?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 Error using score_batch for batch inference in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/41377#M2085</link>
    <description>&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;I have been learning to use the Databricks feature store and I was trying to train the model using the stored features and compute batch inference.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am getting an error though, running prediction using score_batch, I have been getting this error for the past two days and I have tried everything its still not resolving.&amp;nbsp; I have checked my input batch dataframe(spark_df), and there are no null values, no infinite values, and no values that are beyond the float 32.&amp;nbsp;Something am I missing?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ariane_0-1692892706534.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3249i212F5B494A393849/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ariane_0-1692892706534.png" alt="Ariane_0-1692892706534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2023 16:00:32 GMT</pubDate>
    <dc:creator>Ariane</dc:creator>
    <dc:date>2023-08-24T16:00:32Z</dc:date>
    <item>
      <title>Error using score_batch for batch inference</title>
      <link>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/41377#M2085</link>
      <description>&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;I have been learning to use the Databricks feature store and I was trying to train the model using the stored features and compute batch inference.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am getting an error though, running prediction using score_batch, I have been getting this error for the past two days and I have tried everything its still not resolving.&amp;nbsp; I have checked my input batch dataframe(spark_df), and there are no null values, no infinite values, and no values that are beyond the float 32.&amp;nbsp;Something am I missing?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ariane_0-1692892706534.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3249i212F5B494A393849/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ariane_0-1692892706534.png" alt="Ariane_0-1692892706534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 16:00:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/41377#M2085</guid>
      <dc:creator>Ariane</dc:creator>
      <dc:date>2023-08-24T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error using score_batch for batch inference</title>
      <link>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/41383#M2087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87076"&gt;@Ariane&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for posting your question in the Databricks community.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are using the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="4"&gt;&lt;FONT size="3"&gt;RandomForestRegressor&lt;/FONT&gt;,&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;Could you check by setting &lt;/SPAN&gt;maxDepth&lt;SPAN&gt;&amp;nbsp;it to the default value to mitigate this issue?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 17:20:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/41383#M2087</guid>
      <dc:creator>Kumaran</dc:creator>
      <dc:date>2023-08-24T17:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error using score_batch for batch inference</title>
      <link>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/42453#M2094</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/63081"&gt;@Kumaran&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a Random forest classifier however I have tried to set the max depth to none since it is the default value but the error still exists.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 09:58:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/42453#M2094</guid>
      <dc:creator>Ariane</dc:creator>
      <dc:date>2023-08-28T09:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error using score_batch for batch inference</title>
      <link>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/84016#M3603</link>
      <description>&lt;P&gt;Has this issue been resolved? I am using a Wrapped Catboost classifier, and sometimes I can use batch_score, and some times it gives me the same error:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 2094.0 failed 4 times, most recent failure: Lost task 2.3 in stage 2094.0 (TID 2825) (10.162.80.108 executor 0): org.apache.spark.SparkRuntimeException: [UDF_ERROR.ENV_LOST] Execution of function udf(named_struct(..."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:53:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/error-using-score-batch-for-batch-inference/m-p/84016#M3603</guid>
      <dc:creator>mariabardon</dc:creator>
      <dc:date>2024-08-23T07:53:56Z</dc:date>
    </item>
  </channel>
</rss>

