Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit 69a46c9

Browse files
authored
Update RDFGraphPIClustering.scala
1 parent 2d918b6 commit 69a46c9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

sansa-examples-spark/src/main/scala/net/sansa_stack/examples/spark/ml/clustering/RDFGraphPIClustering.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@ object RDFGraphPIClustering {
3737

3838
val lang = Lang.NTRIPLES
3939
val triples = spark.rdf(lang)(input)
40-
40+
println("============================================")
41+
println("| Power Iteration Clustering example 11 |")
42+
println("============================================")
4143
val graph = triples.asStringGraph()
42-
44+
println("============================================")
45+
println("| Power Iteration Clustering example 13 |")
46+
println("============================================")
4347
RDFGraphPowerIterationClustering(spark, graph, output, outevl, outputsim, k, maxIterations)
4448
println("============================================")
4549
println("| Power Iteration Clustering example 12 |")
@@ -48,9 +52,7 @@ object RDFGraphPIClustering {
4852
spark.stop
4953

5054
}
51-
println("============================================")
52-
println("| Power Iteration Clustering example 11 |")
53-
println("============================================")
55+
5456

5557
case class Config(in: String = "", out: String = "", outevl: String = "", outputsim: String = "", k: Int = 2, maxIterations: Int = 5)
5658

0 commit comments

Comments
 (0)