进行Spark 2.1.0 入门:KMeans聚类算法实验时,出现了以下错误:
解决方法:将case class model_instance (features: Vector)
改为
case class model_instance (features: org.apache.spark.ml.linalg.Vector)
进行Spark 2.1.0 入门:KMeans聚类算法实验时,出现了以下错误:
解决方法:将case class model_instance (features: Vector)
改为
case class model_instance (features: org.apache.spark.ml.linalg.Vector)