sparknlp.annotator.param.classifier_encoder
#
Module Contents#
Classes#
Components that take parameters. This also provides an internal |
- class ClassifierEncoder[source]#
Components that take parameters. This also provides an internal param map to store parameter values attached to the instance.
New in version 1.3.0.
- setMaxEpochs(epochs)[source]#
Sets maximum number of epochs to train, by default 30
- Parameters:
- epochsint
Maximum number of epochs to train
- setLabelColumn(value)[source]#
Sets name of column for data labels
- Parameters:
- valuestr
Column for data labels