Skip to content

Commit

Permalink
Check the actual model
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 2, 2018
1 parent 3d529f8 commit e0f9b09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class KMeansSuite extends SparkFunSuite with MLlibTestSparkContext with DefaultR
val pmmlClusteringModel = pmml.getModels.get(0).asInstanceOf[ClusteringModel]
assert(pmmlClusteringModel.getNumberOfClusters === clusterCenters.length)
}
testPMMLWrite(sc, model, checkModel)
testPMMLWrite(sc, kmeansModel, checkModel)
}
}

Expand Down

0 comments on commit e0f9b09

Please sign in to comment.