Interface HasTrainingSummary<T>

Type Parameters:
T - Summary instance type
All Known Implementing Classes:
BisectingKMeansModel, FMClassificationModel, GaussianMixtureModel, GeneralizedLinearRegressionModel, KMeansModel, LinearRegressionModel, LinearSVCModel, LogisticRegressionModel, MultilayerPerceptronClassificationModel, RandomForestClassificationModel

public interface HasTrainingSummary<T>
Trait for models that provides Training summary.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether a training summary exists for this model instance.
    setSummary(scala.Option<T> summary)
     
    Gets summary of model on training set.
    scala.Option<T>
     
  • Method Details

    • hasSummary

      boolean hasSummary()
      Indicates whether a training summary exists for this model instance.
    • setSummary

      HasTrainingSummary<T> setSummary(scala.Option<T> summary)
    • summary

      T summary()
      Gets summary of model on training set. An exception is thrown if if hasSummary is false.
      Returns:
      (undocumented)
    • trainingSummary

      scala.Option<T> trainingSummary()