LAMLStringIndexer

class sparklightautoml.transformers.scala_wrappers.laml_string_indexer.LAMLStringIndexer(*, inputCol=None, outputCol=None, inputCols=None, outputCols=None, handleInvalid='error', stringOrderType='frequencyDesc', minFreqs=None, defaultValue=0.0, freqLabel=False, nanLast=False)[source]

Bases: JavaEstimator, _StringIndexerParams, JavaMLReadable, JavaMLWritable

Custom implementation of PySpark StringIndexer wrapper

__init__(self, \*, inputCol=None, outputCol=None, inputCols=None, outputCols=None, handleInvalid="error", stringOrderType="frequencyDesc")[source]
setParams(self, \*, inputCol=None, outputCol=None, inputCols=None, outputCols=None, handleInvalid="error", stringOrderType="frequencyDesc")[source]

Sets params for this StringIndexer.

New in version 1.4.0.

setStringOrderType(value)[source]

Sets the value of stringOrderType.

New in version 2.3.0.

setInputCol(value)[source]

Sets the value of inputCol.

setInputCols(value)[source]

Sets the value of inputCols.

New in version 3.0.0.

setOutputCol(value)[source]

Sets the value of outputCol.

setOutputCols(value)[source]

Sets the value of outputCols.

New in version 3.0.0.

setHandleInvalid(value)[source]

Sets the value of handleInvalid.

setMinFreqs(value)[source]

Sets the value of minFreqs.

New in version 3.2.0.

setDefaultValue(value)[source]

Sets the value of defaultValue.

New in version 3.2.0.

setFreqLabel(value)[source]

Sets the value of freqLabel.

New in version 3.2.0.

setNanLast(value)[source]

Sets the value of nanLast.

New in version 3.2.0.