How to use spark.mllib.recommendation when the Two ids are String in Java

后端 未结 0 1766
不知归路
不知归路 2021-01-15 02:55

How do I convert the String ids to Integer in Java

 JavaRDD ratings = feedbackRDD.map((Function) d -> new Rating(d.ge         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题