Jacek is correct for using org.apache.spark.ml.recommendation.ALSModel
If you are trying to save
org.apache.spark.mllib.recommendation.MatrixFactorizationModel, then it is
similar, but just a little different, see the example here
https://github.com/apache/spark/blob/master/examples/src/main/scala
What about write.save(file)?
P.s. I'm new to Spark MLlib.
11.03.2016 4:57 AM "Shishir Anshuman"
napisaĆ(a):
> hello,
>
> I am new to Apache Spark and would like to get the Recommendation output
> of the ALS algorithm in a file.
> Please suggest me the solution.
>
> Thank you
>
>
>
Are you trying to save predictions on a dataset to a file, or the model
produced after training with ALS?
On Thu, Mar 10, 2016 at 7:57 PM, Shishir Anshuman wrote:
> hello,
>
> I am new to Apache Spark and would like to get the Recommendation output
> of the ALS algorithm in a file.
> Please sugg
hello,
I am new to Apache Spark and would like to get the Recommendation output of
the ALS algorithm in a file.
Please suggest me the solution.
Thank you