Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache spark 导入火花高斯混合时出错_Apache Spark_Apache Spark Mllib - Fatal编程技术网

Apache spark 导入火花高斯混合时出错

Apache spark 导入火花高斯混合时出错,apache-spark,apache-spark-mllib,Apache Spark,Apache Spark Mllib,我得到以下错误 对象GaussianMixture不是包org.apache.spark.ml.clustering的成员 当我尝试从spark shell执行以下导入时 import org.apache.spark.ml.clustering.GaussianMixture 由于这是的一部分,我认为不需要添加任何依赖项。请帮我解决这个问题。我相信高斯混合使用mllib包。尝试导入: import org.apache.spark.mllib.clustering.GaussianMixtu

我得到以下错误

对象GaussianMixture不是包org.apache.spark.ml.clustering的成员

当我尝试从spark shell执行以下导入时

import org.apache.spark.ml.clustering.GaussianMixture

由于这是的一部分,我认为不需要添加任何依赖项。请帮我解决这个问题。

我相信高斯混合使用
mllib
包。尝试导入:

import org.apache.spark.mllib.clustering.GaussianMixture