Class: MLWriter

eclairjs/ml/util. MLWriter

Utility classes that can save ML instances.

Constructor

new MLWriter()

Source:

Methods

context(sqlContext) → {module:eclairjs/ml/util.MLWriter}

Parameters:
Name Type Description
sqlContext module:eclairjs/sql.SQLContext
Source:
Returns:
Type
module:eclairjs/ml/util.MLWriter

overwrite() → {module:eclairjs/ml/util.MLWriter}

Overwrites if the output path already exists.
Source:
Returns:
Type
module:eclairjs/ml/util.MLWriter

save(path)

Saves the ML instances to the input path.
Parameters:
Name Type Description
path string
Source:

session(sparkSession) → {module:eclairjs/ml/util.MLWriter}

Parameters:
Name Type Description
sparkSession module:eclairjs/sql.SparkSession
Source:
Returns:
Type
module:eclairjs/ml/util.MLWriter