Adds an option to the underlying MLWriter.
Adds an option to the underlying MLWriter. See the documentation for the specific model's writer for possible options. The option name (key) is case-insensitive.
Map to store extra options for this writer.
Map to store extra options for this writer.
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 in Spark's internal format.