Interface MLWritable

All Known Subinterfaces:
DefaultParamsWritable, GeneralMLWritable
All Known Implementing Classes:
AFTSurvivalRegression, AFTSurvivalRegressionModel, ALS, ALSModel, Binarizer, BinaryClassificationEvaluator, BisectingKMeans, BisectingKMeansModel, BucketedRandomProjectionLSH, BucketedRandomProjectionLSHModel, Bucketizer, ChiSqSelector, ChiSqSelectorModel, ClusteringEvaluator, ColumnPruner, CountVectorizer, CountVectorizerModel, CrossValidator, CrossValidatorModel, DCT, DecisionTreeClassificationModel, DecisionTreeClassifier, DecisionTreeRegressionModel, DecisionTreeRegressor, DistributedLDAModel, ElementwiseProduct, FeatureHasher, FMClassificationModel, FMClassifier, FMRegressionModel, FMRegressor, FPGrowth, FPGrowthModel, GaussianMixture, GaussianMixtureModel, GBTClassificationModel, GBTClassifier, GBTRegressionModel, GBTRegressor, GeneralizedLinearRegression, GeneralizedLinearRegressionModel, HashingTF, IDF, IDFModel, Imputer, ImputerModel, IndexToString, Interaction, IsotonicRegression, IsotonicRegressionModel, KMeans, KMeansModel, LDA, LDAModel, LinearRegression, LinearRegressionModel, LinearSVC, LinearSVCModel, LocalLDAModel, LogisticRegression, LogisticRegressionModel, MaxAbsScaler, MaxAbsScalerModel, MinHashLSH, MinHashLSHModel, MinMaxScaler, MinMaxScalerModel, MulticlassClassificationEvaluator, MultilabelClassificationEvaluator, MultilayerPerceptronClassificationModel, MultilayerPerceptronClassifier, NaiveBayes, NaiveBayesModel, NGram, Normalizer, OneHotEncoder, OneHotEncoderModel, OneVsRest, OneVsRestModel, PCA, PCAModel, Pipeline, PipelineModel, PolynomialExpansion, PowerIterationClustering, QuantileDiscretizer, RandomForestClassificationModel, RandomForestClassifier, RandomForestRegressionModel, RandomForestRegressor, RankingEvaluator, RegexTokenizer, RegressionEvaluator, RFormula, RFormulaModel, RobustScaler, RobustScalerModel, SQLTransformer, StandardScaler, StandardScalerModel, StopWordsRemover, StringIndexer, StringIndexerModel, Tokenizer, TrainValidationSplit, TrainValidationSplitModel, UnivariateFeatureSelector, UnivariateFeatureSelectorModel, VarianceThresholdSelector, VarianceThresholdSelectorModel, VectorAssembler, VectorAttributeRewriter, VectorIndexer, VectorIndexerModel, VectorSizeHint, VectorSlicer, Word2Vec, Word2VecModel

public interface MLWritable
Trait for classes that provide MLWriter.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    save(String path)
    Saves this ML instance to the input path, a shortcut of write.save(path).
    Returns an MLWriter instance for this ML instance.
  • Method Details

    • save

      void save(String path) throws IOException
      Saves this ML instance to the input path, a shortcut of write.save(path).
      Parameters:
      path - (undocumented)
      Throws:
      IOException
    • write

      MLWriter write()
      Returns an MLWriter instance for this ML instance.
      Returns:
      (undocumented)