We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0183cb9 commit 8476b6bCopy full SHA for 8476b6b
mllib/src/main/scala/org/apache/spark/mllib/tree/model/WeightedEnsembleModel.scala
@@ -32,8 +32,8 @@ class WeightedEnsembleModel(
32
val algo: Algo,
33
val combiningStrategy: EnsembleCombiningStrategy) extends Serializable {
34
35
- require(numWeakHypotheses > 0, s"WeightedEnsembleModel cannot be created without base learners. Number " +
36
- s"of baselearners = $weakHypotheses")
+ require(numWeakHypotheses > 0, s"WeightedEnsembleModel cannot be created without weakHypotheses" +
+ s". Number of weakHypotheses = $weakHypotheses")
37
38
/**
39
* Predict values for a single data point using the model trained.
0 commit comments