tgravescs commented on issue #25983: [SPARK-29327][MLLIB]Support specifying 
features via multiple columns
URL: https://github.com/apache/spark/pull/25983#issuecomment-545498164
 
 
   right it can be done today, but this makes it  simpler to use and possibly 
more performant.  I think it especially helps the cases where your data is 
already in columnar format.  VectorAssembler has to make a pass over the data 
and merge multiple columns.   Many ML algorithms prefer columnar data and this 
allows the algorithm to determine what it wants to do with the columns. if it 
doesn't need to merge them, that is just extra processing.   If it already 
knows the format it can take advantage of that.
   
   In this case you actually don't have to change the implementations until you 
want to, which is what this PR does.  Its just introducing the api, xgboost is 
going to use it, then other algo's can support as they want to.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to