<?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: Why do Spark MLlib models only accept a vector column as input? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24272#M16871</link>
    <description>&lt;P&gt;The modeling algorithms in Spark MLlib will only accept a vectorized column as input. This is done for reasons of efficiency and scaling. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vector assembler will express the features efficiently using techniques like spark vector, which allow a larger amount of data to be handled with less memory. This helps the modeling algorithms run efficiently even on large data columns.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 22:14:51 GMT</pubDate>
    <dc:creator>User16826992666</dc:creator>
    <dc:date>2021-06-16T22:14:51Z</dc:date>
    <item>
      <title>Why do Spark MLlib models only accept a vector column as input?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24271#M16870</link>
      <description>&lt;P&gt;In other libraries I can just use the feature columns themselves as inputs, why do I need to make a vector out of my features when I use MLlib?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 21:10:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24271#M16870</guid>
      <dc:creator>User16826992666</dc:creator>
      <dc:date>2021-06-15T21:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why do Spark MLlib models only accept a vector column as input?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24272#M16871</link>
      <description>&lt;P&gt;The modeling algorithms in Spark MLlib will only accept a vectorized column as input. This is done for reasons of efficiency and scaling. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vector assembler will express the features efficiently using techniques like spark vector, which allow a larger amount of data to be handled with less memory. This helps the modeling algorithms run efficiently even on large data columns.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 22:14:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24272#M16871</guid>
      <dc:creator>User16826992666</dc:creator>
      <dc:date>2021-06-16T22:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why do Spark MLlib models only accept a vector column as input?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24273#M16872</link>
      <description>&lt;P&gt;Yeah, it's more a design choice. Rather than have every implementation take column(s) params, this is handled once in VectorAssembler for all of them. One way or the other, most implementations need a vector of inputs anyway. VectorAssembler can do some optimizations to use sparse vectors too where applicable.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 23:05:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-do-spark-mllib-models-only-accept-a-vector-column-as-input/m-p/24273#M16872</guid>
      <dc:creator>sean_owen</dc:creator>
      <dc:date>2021-06-17T23:05:12Z</dc:date>
    </item>
  </channel>
</rss>

