Skip to content

Commit

Permalink
Call testPMMLWrite to actually verify PMML export
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Mar 30, 2018
1 parent 25d6f77 commit e2dbe15
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +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)
}
}

Expand Down

0 comments on commit e2dbe15

Please sign in to comment.