Overwrites if the output path already exists.
Overwrites if the output path already exists.
Saves the ML instances to the input path.
Saves the ML instances to the input path.
Returns the underlying SparkContext
.
Returns the underlying SparkContext
.
Sets the Spark Session to use for saving/loading.
Sets the Spark Session to use for saving/loading.
Returns the user-specified Spark Session or the default.
Returns the user-specified Spark Session or the default.
Returns the user-specified SQL context or the default.
Returns the user-specified SQL context or the default.
Sets the Spark SQLContext to use for saving/loading.
Sets the Spark SQLContext to use for saving/loading.
Use session instead. This method will be removed in 3.0.0.
Abstract class for utility classes that can save ML instances.