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 0a698fe commit bd459b1Copy full SHA for bd459b1
mllib/src/main/scala/org/apache/spark/ml/tuning/TrainValidationSplit.scala
@@ -246,14 +246,14 @@ class TrainValidationSplitModel private[ml] (
246
/**
247
* Return true if there exists summary of model.
248
*/
249
- @Since("2.0.0")
+ @Since("2.3.0")
250
def hasSummary: Boolean = trainingSummary.nonEmpty
251
252
253
* Gets summary of model on training set. An exception is
254
* thrown if `trainingSummary == None`.
255
256
257
def summary: TuningSummary = trainingSummary.getOrElse {
258
throw new SparkException(
259
s"No training summary available for the ${this.getClass.getSimpleName}")
0 commit comments