Re: Re: Re: how to call recommend method from ml.recommendation.ALS

2017-03-15 Thread lk_spark
Tank you , that's what I want to confirm. 2017-03-16 lk_spark 发件人:Yuhao Yang 发送时间:2017-03-16 13:05 主题:Re: Re: how to call recommend method from ml.recommendation.ALS 收件人:"lk_spark" 抄送:"任弘迪","user.spark" This is something that was just added to ML and

Re: Re: how to call recommend method from ml.recommendation.ALS

2017-03-15 Thread Yuhao Yang
amething as mllib when I use ml. > 2017-03-16 > -- > lk_spark > -- > > *发件人:*任弘迪 > *发送时间:*2017-03-16 10:46 > *主题:*Re: how to call recommend method from ml.recommendation.ALS > *收件人:*"lk_spark" > *抄送:*

Re: Re: how to call recommend method from ml.recommendation.ALS

2017-03-15 Thread lk_spark
发送时间:2017-03-16 10:46 主题:Re: how to call recommend method from ml.recommendation.ALS 收件人:"lk_spark" 抄送:"user.spark" if the num of user-item pairs to predict aren't too large, say millions, you could transform the target dataframe and save the result to a hive table, t

Re: how to call recommend method from ml.recommendation.ALS

2017-03-15 Thread 任弘迪
if the num of user-item pairs to predict aren't too large, say millions, you could transform the target dataframe and save the result to a hive table, then build cache based on that table for online services. if it's not the case(such as billions of user item pairs to predict), you have to start a