Package org.apache.spark.ml.util
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,TargetEncoder,TargetEncoderModel,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
-
Method Details
-
save
Saves this ML instance to the input path, a shortcut ofwrite.save(path).- Parameters:
path- (undocumented)- Throws:
IOException
-
write
MLWriter write()Returns anMLWriterinstance for this ML instance.- Returns:
- (undocumented)
-