Class: MLReader

eclairjs/ml/util. MLReader

Utility classes that can load ML instances.

Constructor

new MLReader()

Source:

Methods

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

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

load(path) → {object}

Loads the ML component from the input path.
Parameters:
Name Type Description
path string
Source:
Returns:
Type
object

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

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