Check whether the given schema contains an input column.
Check whether the given schema contains an input column.
Parameter name for the input column.
SQL DataType of the input column.
Creates the transform function using the given param map.
Creates the transform function using the given param map. The input param map already takes account of the embedded param map. So the param values should be determined solely by the input param map.
Returns the documentation of all params.
Returns the documentation of all params.
Gets the value of a parameter in the embedded param map.
Gets the value of a parameter in the embedded param map.
param for input column name
param for input column name
Checks whether a param is explicitly set.
Checks whether a param is explicitly set.
number of features
param for output column name
param for output column name
Returns the data type of the output column.
Returns the data type of the output column.
Internal param map.
Internal param map.
Returns all params.
Returns all params.
Sets a parameter in the embedded param map.
Sets a parameter in the embedded param map.
Transforms the dataset with provided parameter map as additional parameters.
Transforms the dataset with provided parameter map as additional parameters.
input dataset
additional parameters, overwrite embedded params
transformed dataset
Transforms the dataset with optional parameters
Transforms the dataset with optional parameters
input dataset
optional list of param pairs, overwrite embedded params
transformed dataset
:: DeveloperApi ::
:: DeveloperApi ::
Derives the output schema from the input schema and parameters. The schema describes the columns and types of the data.
Input schema to this stage
Parameters passed to this stage
Output schema from this stage
Derives the output schema from the input schema and parameters, optionally with logging.
Derives the output schema from the input schema and parameters, optionally with logging.
Validates parameter values stored internally.
Validates parameter values stored internally. Raise an exception if any parameter value is invalid.
Validates parameter values stored internally plus the input parameter map.
Validates parameter values stored internally plus the input parameter map. Raises an exception if any parameter is invalid.
Validates the input type.
Validates the input type. Throw an exception if it is invalid.
A list of (hyper-)parameter keys this algorithm can take. Users can set and get the parameter values through setters and getters, respectively.
:: AlphaComponent :: Maps a sequence of terms to their term frequencies using the hashing trick.