<?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 Possible Incorrect Answer Key: Spark ML Estimators — OneHotEncoder, Imputer, and StandardScaler in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/possible-incorrect-answer-key-spark-ml-estimators-onehotencoder/m-p/174809#M4737</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello Databricks Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While preparing for the Databricks Machine Learning Associate certification, I came across a question in a practice assessment that I believe may have an incorrect or incomplete answer key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"In a Spark ML Pipeline, which two of the following are Estimators — meaning they learn parameters from the training data during fit()? (Select two)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Options:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OneHotEncoder&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;VectorAssembler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Imputer&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;My selected answers:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OneHotEncoder&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Assessment result:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Partially correct — 2.5 out of 5 marks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Answers provided by the assessment:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Imputer&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;My understanding:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;According to the Apache Spark ML API, three of the listed components are Estimators:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OneHotEncoder: An Estimator that learns category sizes during fit() and produces a OneHotEncoderModel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Imputer: An Estimator that learns imputation statistics and produces an ImputerModel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler: An Estimator that learns feature statistics and produces a StandardScalerModel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;VectorAssembler is a Transformer because it combines feature columns without learning parameters through fit().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Therefore, technically, the question appears to have three correct answers rather than two.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could someone from the Databricks training or certification team clarify whether the question or its answer key needs correction?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate clarification so that learners can align their understanding with the actual Spark ML API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 877px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32620i4BC71E63ACFFB3FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2026 22:56:11 GMT</pubDate>
    <dc:creator>amittian</dc:creator>
    <dc:date>2026-10-27T22:56:11Z</dc:date>
    <item>
      <title>Possible Incorrect Answer Key: Spark ML Estimators — OneHotEncoder, Imputer, and StandardScaler</title>
      <link>https://community.databricks.com/t5/machine-learning/possible-incorrect-answer-key-spark-ml-estimators-onehotencoder/m-p/174809#M4737</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Databricks Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While preparing for the Databricks Machine Learning Associate certification, I came across a question in a practice assessment that I believe may have an incorrect or incomplete answer key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"In a Spark ML Pipeline, which two of the following are Estimators — meaning they learn parameters from the training data during fit()? (Select two)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Options:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OneHotEncoder&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;VectorAssembler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Imputer&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;My selected answers:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OneHotEncoder&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Assessment result:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Partially correct — 2.5 out of 5 marks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Answers provided by the assessment:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Imputer&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;My understanding:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;According to the Apache Spark ML API, three of the listed components are Estimators:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OneHotEncoder: An Estimator that learns category sizes during fit() and produces a OneHotEncoderModel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Imputer: An Estimator that learns imputation statistics and produces an ImputerModel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;StandardScaler: An Estimator that learns feature statistics and produces a StandardScalerModel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;VectorAssembler is a Transformer because it combines feature columns without learning parameters through fit().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Therefore, technically, the question appears to have three correct answers rather than two.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could someone from the Databricks training or certification team clarify whether the question or its answer key needs correction?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would appreciate clarification so that learners can align their understanding with the actual Spark ML API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 877px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32620i4BC71E63ACFFB3FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2026 22:56:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/possible-incorrect-answer-key-spark-ml-estimators-onehotencoder/m-p/174809#M4737</guid>
      <dc:creator>amittian</dc:creator>
      <dc:date>2026-10-27T22:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Incorrect Answer Key: Spark ML Estimators — OneHotEncoder, Imputer, and StandardScaler</title>
      <link>https://community.databricks.com/t5/machine-learning/possible-incorrect-answer-key-spark-ml-estimators-onehotencoder/m-p/174869#M4738</link>
      <description>&lt;DIV class="du-bois-light-typography css-mdu5st" data-genai-markdown-block="true"&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/250199"&gt;@amittian&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="du-bois-light-typography css-mdu5st" data-genai-markdown-block="true"&gt;Thanks for flagging this, you're right. &lt;BR /&gt;Since Spark 3.0, &lt;SPAN class="du-bois-light-typography css-1ifq98"&gt;&lt;CODE&gt;OneHotEncoder&lt;/CODE&gt;&lt;/SPAN&gt; is an Estimator. It learns the category sizes during &lt;SPAN class="du-bois-light-typography css-1ifq98"&gt;&lt;CODE&gt;fit()&lt;/CODE&gt;&lt;/SPAN&gt; and returns a &lt;SPAN class="du-bois-light-typography css-1ifq98"&gt;&lt;CODE&gt;OneHotEncoderModel&lt;/CODE&gt;&lt;/SPAN&gt;, so three of the four options are Estimators.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="du-bois-light-typography css-mdu5st" data-genai-markdown-block="true"&gt;The likely cause is that the question was written for Spark 2.x. In that version, &lt;SPAN class="du-bois-light-typography css-1ifq98"&gt;&lt;CODE&gt;OneHotEncoder&lt;/CODE&gt;&lt;/SPAN&gt; was a Transformer and the learning version was a separate class called &lt;SPAN class="du-bois-light-typography css-1ifq98"&gt;&lt;CODE&gt;OneHotEncoderEstimator&lt;/CODE&gt;&lt;/SPAN&gt;. Spark 3.0 merged the two under the &lt;SPAN class="du-bois-light-typography css-1ifq98"&gt;&lt;CODE&gt;OneHotEncoder&lt;/CODE&gt;&lt;/SPAN&gt; name, and the answer key doesn't seem to have been updated.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="du-bois-light-typography css-mdu5st" data-genai-markdown-block="true"&gt;I checked with our certification team. They asked for a ticket here so the question can be formally reviewed: &lt;A class="du-bois-light-typography css-1yqesw9" role="link" href="https://help.databricks.com/s/contact-us?ReqType=training" rel="noopener noreferrer" data-component-type="typography_link" data-component-id="codegen_webapp_js_genai_util_markdown.tsx_71" aria-disabled="false" target="_blank"&gt;https://help.databricks.com/s/contact-us?ReqType=training&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="du-bois-light-typography css-mdu5st" data-genai-markdown-block="true"&gt;If you'd rather I file it for you, just send me a bit more context, such as which exam or assessment it was and roughly when you took it, and I'll take care of it.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="du-bois-light-typography css-mdu5st" data-genai-markdown-block="true"&gt;Thanks again for raising it!&lt;BR /&gt;Nina&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Oct 2026 17:25:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/possible-incorrect-answer-key-spark-ml-estimators-onehotencoder/m-p/174869#M4738</guid>
      <dc:creator>NinaThoni</dc:creator>
      <dc:date>2026-10-28T17:25:07Z</dc:date>
    </item>
  </channel>
</rss>

