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.
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.
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 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 datset
optional list of param pairs, 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
Derives the output schema from the input schema and parameters.
Derives the output schema from the input schema and parameters.
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.
:: AlphaComponent :: Maps a sequence of terms to their term frequencies using the hashing trick.