<?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 Unable to import ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-import-ml-dmlc-xgboost4j-scala-spark-xgboostclassifier/m-p/72246#M7427</link>
    <description>&lt;P&gt;Hi I am trying to use the Scala&amp;nbsp;XGBoostClassifier on Databricks, inspiring by this&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=vD3k-moYgmU" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=vD3k-moYgmU&lt;/A&gt;&amp;nbsp;video shared by Dbx official account. But I couldn't import the library.&lt;/P&gt;&lt;P&gt;I followed the official tutorial&amp;nbsp;&lt;A href="https://docs.databricks.com/en/machine-learning/train-model/xgboost-scala.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/machine-learning/train-model/xgboost-scala.html&lt;/A&gt;&amp;nbsp;and installed the scala package. &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-10 at 11.33.50 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8174i8B543273EDA20113/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-10 at 11.33.50 AM.png" alt="Screenshot 2024-06-10 at 11.33.50 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when I imported this '&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;FONT face="inherit" color="#183139"&gt; ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier' I got the error message '&lt;/FONT&gt;&lt;SPAN class=""&gt;ModuleNotFoundError: &lt;/SPAN&gt;&lt;FONT face="inherit" color="#183139"&gt;No module named 'ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier''. Could you please shed light on how to correctly install this and import it? I &lt;/FONT&gt;&lt;FONT color="#183139"&gt;&lt;SPAN&gt;would&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#183139"&gt;&lt;FONT face="inherit"&gt;&amp;nbsp;like to use the scala based XGBoost &lt;/FONT&gt;package&lt;FONT face="inherit"&gt;&amp;nbsp;to accelerate the computation. Thank you very much!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#183139"&gt;&lt;FONT face="inherit"&gt;#xgboost #scala&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 15:38:27 GMT</pubDate>
    <dc:creator>dbxdbx_</dc:creator>
    <dc:date>2024-06-10T15:38:27Z</dc:date>
    <item>
      <title>Unable to import ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-import-ml-dmlc-xgboost4j-scala-spark-xgboostclassifier/m-p/72246#M7427</link>
      <description>&lt;P&gt;Hi I am trying to use the Scala&amp;nbsp;XGBoostClassifier on Databricks, inspiring by this&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=vD3k-moYgmU" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=vD3k-moYgmU&lt;/A&gt;&amp;nbsp;video shared by Dbx official account. But I couldn't import the library.&lt;/P&gt;&lt;P&gt;I followed the official tutorial&amp;nbsp;&lt;A href="https://docs.databricks.com/en/machine-learning/train-model/xgboost-scala.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/machine-learning/train-model/xgboost-scala.html&lt;/A&gt;&amp;nbsp;and installed the scala package. &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-10 at 11.33.50 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8174i8B543273EDA20113/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-10 at 11.33.50 AM.png" alt="Screenshot 2024-06-10 at 11.33.50 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when I imported this '&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;FONT face="inherit" color="#183139"&gt; ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier' I got the error message '&lt;/FONT&gt;&lt;SPAN class=""&gt;ModuleNotFoundError: &lt;/SPAN&gt;&lt;FONT face="inherit" color="#183139"&gt;No module named 'ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier''. Could you please shed light on how to correctly install this and import it? I &lt;/FONT&gt;&lt;FONT color="#183139"&gt;&lt;SPAN&gt;would&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#183139"&gt;&lt;FONT face="inherit"&gt;&amp;nbsp;like to use the scala based XGBoost &lt;/FONT&gt;package&lt;FONT face="inherit"&gt;&amp;nbsp;to accelerate the computation. Thank you very much!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#183139"&gt;&lt;FONT face="inherit"&gt;#xgboost #scala&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 15:38:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-import-ml-dmlc-xgboost4j-scala-spark-xgboostclassifier/m-p/72246#M7427</guid>
      <dc:creator>dbxdbx_</dc:creator>
      <dc:date>2024-06-10T15:38:27Z</dc:date>
    </item>
  </channel>
</rss>

