Skip to content

can't reproduce sample in readme #18

@JohnRenshaw

Description

@JohnRenshaw

We get the following error when we try to reproduce readme example, we are using scala 2.11 jar downloaded from maven. We are running from AWS EMR cluster, with the following version
Spark 2.1.1 (git revision 173acdf) built for Hadoop 2.7.3-amzn-2

val clusters: Dataset[Assignment] =
MCL.train(graph).assignments

:37: error: type mismatch;
found : org.apache.spark.rdd.RDD[org.apache.spark.mllib.clustering.Assignment]
required: org.apache.spark.sql.Dataset[org.apache.spark.mllib.clustering.Assignment]
Error occurred in an application involving default arguments.
MCL.train(graph).assignments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions