Packages

trait MLWritable extends AnyRef

Trait for classes that provide MLWriter.

Annotations
@Since("1.6.0")
Source
ReadWrite.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Pipeline, PipelineModel, DecisionTreeClassificationModel, DecisionTreeClassifier, FMClassificationModel, FMClassifier, GBTClassificationModel, GBTClassifier, LinearSVC, LinearSVCModel, LogisticRegression, LogisticRegressionModel, MultilayerPerceptronClassificationModel, MultilayerPerceptronClassifier, NaiveBayes, NaiveBayesModel, OneVsRest, OneVsRestModel, RandomForestClassificationModel, RandomForestClassifier, BisectingKMeans, BisectingKMeansModel, DistributedLDAModel, GaussianMixture, GaussianMixtureModel, KMeans, KMeansModel, LDA, LDAModel, LocalLDAModel, PowerIterationClustering, BinaryClassificationEvaluator, ClusteringEvaluator, MulticlassClassificationEvaluator, MultilabelClassificationEvaluator, RankingEvaluator, RegressionEvaluator, Binarizer, Bucketizer, CountVectorizer, CountVectorizerModel, DCT, ElementwiseProduct, FeatureHasher, HashingTF, IDF, IDFModel, Imputer, ImputerModel, IndexToString, Interaction, MaxAbsScaler, MaxAbsScalerModel, MinMaxScaler, MinMaxScalerModel, NGram, Normalizer, OneHotEncoder, OneHotEncoderModel, PCA, PCAModel, PolynomialExpansion, QuantileDiscretizer, RFormula, RFormulaModel, RegexTokenizer, RobustScaler, RobustScalerModel, SQLTransformer, StandardScaler, StandardScalerModel, StopWordsRemover, StringIndexer, StringIndexerModel, Tokenizer, UnivariateFeatureSelector, UnivariateFeatureSelectorModel, VarianceThresholdSelector, VarianceThresholdSelectorModel, VectorAssembler, VectorIndexer, VectorIndexerModel, VectorSizeHint, VectorSlicer, Word2Vec, Word2VecModel, FPGrowth, FPGrowthModel, ALS, ALSModel, AFTSurvivalRegression, AFTSurvivalRegressionModel, DecisionTreeRegressionModel, DecisionTreeRegressor, FMRegressionModel, FMRegressor, GBTRegressionModel, GBTRegressor, GeneralizedLinearRegression, GeneralizedLinearRegressionModel, IsotonicRegression, IsotonicRegressionModel, LinearRegression, LinearRegressionModel, RandomForestRegressionModel, RandomForestRegressor, CrossValidator, CrossValidatorModel, TrainValidationSplit, TrainValidationSplitModel, DefaultParamsWritable, GeneralMLWritable
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MLWritable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def write: MLWriter

    Returns an MLWriter instance for this ML instance.

    Returns an MLWriter instance for this ML instance.

    Annotations
    @Since("1.6.0")

Concrete Value Members

  1. def save(path: String): Unit

    Saves this ML instance to the input path, a shortcut of write.save(path).

    Saves this ML instance to the input path, a shortcut of write.save(path).

    Annotations
    @Since("1.6.0") @throws("If the input path already exists but overwrite is not enabled.")