5机器学习与火花ML 源码
5机器学习与火花ML 1.介绍Spark.ML ALS(交替最小二乘)。 1oImportamos todas lalibreríasyademásesta nueva from pyspark . ml . recommendation import ALS 2oCreamosfunciónpara cargar los datos,y la sesion de spark def loadMovieNames (): movieNames = {} # CHANGE THIS TO THE PATH TO YOUR u.ITEM FILE: with codecs . open ( "./data/ml-100k/u.item" , "r" , encoding = 'ISO-8859-1' , errors = 'ignore' ) as f :
文件列表
5-Machine-Learning-with-Spark-ML-main.zip
(预估有个15文件)
5-Machine-Learning-with-Spark-ML-main
movie-recommendations-als-dataframe.py
2KB
real-estate.py
2KB
image
018.png
68KB
020.png
46KB
019.png
60KB
error.txt
8KB
logs
access_log (otra copia).txt
10.14MB
暂无评论