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

public interface HasCheckpointInterval extends Params
Trait for shared param checkpointInterval. This trait may be changed or removed between minor versions.
  • 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()