shahid created SPARK-27231:
------------------------------

             Summary: Stack overflow error, when we increase the number of 
iteration in PIC
                 Key: SPARK-27231
                 URL: https://issues.apache.org/jira/browse/SPARK-27231
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 2.4.0, 2.3.3
            Reporter: shahid


     val dataset = spark.createDataFrame(Seq(
       (0L, 1L, 1.0),
       (0L, 2L, 1.0),
       (1L, 2L, 1.0),
       (3L, 4L, 1.0),
       (4L, 0L, 0.1)
     )).toDF("src", "dst", "weight")

     val model = new PowerIterationClustering().
       setK(2).
       setMaxIter(100).
       setInitMode("degree").
       setWeightCol("weight")

     val prediction = model.assignClusters(dataset).select("id", "cluster")



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to