spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Pruitt <>
Subject Re: [EXTERNAL] - Re: Spark ML / ALS question
Date Thu, 03 Dec 2020 13:22:18 GMT
Thanks, I confused myself.  I was looking at Javadoc.
 Not sure why it shows up.   I didn't notice the Developer API tag, so "fit" it is!

From: Sean Owen <>
Sent: Wednesday, December 2, 2020 3:51 PM
To: Steve Pruitt <>
Cc: <>
Subject: [EXTERNAL] - Re: Spark ML / ALS question

There is only a fit() method in<;!!Obbck6kTJA!LtadpPpSINZQ3q4vJOXQw0UmOzZShpk98OlNRZWI2LNAXfqDlnNvNbbKRr3kOTt7$>'s

The older spark.mllib interface has a train() method. You'd generally use the<;!!Obbck6kTJA!LtadpPpSINZQ3q4vJOXQw0UmOzZShpk98OlNRZWI2LNAXfqDlnNvNbbKRr3kOTt7$>

On Wed, Dec 2, 2020 at 2:13 PM Steve Pruitt <> wrote:
I am having a little difficulty finding information on the ALS train(…) method in<;!!Obbck6kTJA!LtadpPpSINZQ3q4vJOXQw0UmOzZShpk98OlNRZWI2LNAXfqDlnNvNbbKRr3kOTt7$>.
 Its unclear when to use it.  In the java doc, the parameters are undocumented.

What is difference between train(..) and fit(..).  When would do you use one or the other?


View raw message