Package org.apache.spark.ml.param.shared
Interface HasCheckpointInterval
- All Superinterfaces:
Identifiable
,Params
,Serializable
- All Known Subinterfaces:
ALSParams
,DecisionTreeClassifierParams
,DecisionTreeParams
,DecisionTreeRegressorParams
,GBTClassifierParams
,GBTParams
,GBTRegressorParams
,LDAParams
,RandomForestClassifierParams
,RandomForestParams
,RandomForestRegressorParams
,TreeEnsembleClassifierParams
,TreeEnsembleParams
,TreeEnsembleRegressorParams
- All Known Implementing Classes:
ALS
,DecisionTreeClassificationModel
,DecisionTreeClassifier
,DecisionTreeRegressionModel
,DecisionTreeRegressor
,DistributedLDAModel
,GBTClassificationModel
,GBTClassifier
,GBTRegressionModel
,GBTRegressor
,LDA
,LDAModel
,LocalLDAModel
,RandomForestClassificationModel
,RandomForestClassifier
,RandomForestRegressionModel
,RandomForestRegressor
Trait for shared param checkpointInterval. This trait may be changed or
removed between minor versions.
-
Method Summary
Modifier and TypeMethodDescriptionParam for set checkpoint interval (>= 1) or disable checkpoint (-1).int
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
-
Method Details
-
checkpointInterval
IntParam checkpointInterval()Param for set checkpoint interval (>= 1) or disable checkpoint (-1). E.g. 10 means that the cache will get checkpointed every 10 iterations. Note: this setting will be ignored if the checkpoint directory is not set in the SparkContext.- Returns:
- (undocumented)
-
getCheckpointInterval
int getCheckpointInterval()
-