public final class IDF extends Estimator<IDFModel>
| Modifier and Type | Method and Description |
|---|---|
IDFModel |
fit(DataFrame dataset)
Fits a model to the input data.
|
int |
getMinDocFreq() |
IntParam |
minDocFreq()
The minimum of documents in which a term should appear.
|
IDF |
setInputCol(String value) |
org.apache.spark.ml.feature.IDFBase |
setMinDocFreq(int value) |
IDF |
setOutputCol(String value) |
StructType |
transformSchema(StructType schema)
:: DeveloperApi ::
|
String |
uid() |
StructType |
validateAndTransformSchema(StructType schema)
Validate and transform the input schema.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, copy, copyValues, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, setDefault, shouldOwn, validateParamsinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic String uid()
public IDF setInputCol(String value)
public IDF setOutputCol(String value)
public IDFModel fit(DataFrame dataset)
Estimatorpublic StructType transformSchema(StructType schema)
PipelineStageDerives the output schema from the input schema.
transformSchema in class PipelineStageschema - (undocumented)public IntParam minDocFreq()
public int getMinDocFreq()
public org.apache.spark.ml.feature.IDFBase setMinDocFreq(int value)
public StructType validateAndTransformSchema(StructType schema)
schema - (undocumented)