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, wait
clear, copy, copyValues, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, setDefault, shouldOwn, validateParams
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public String uid()
public IDF setInputCol(String value)
public IDF setOutputCol(String value)
public IDFModel fit(DataFrame dataset)
Estimator
public StructType transformSchema(StructType schema)
PipelineStage
Derives the output schema from the input schema.
transformSchema
in class PipelineStage
schema
- (undocumented)public IntParam minDocFreq()
public int getMinDocFreq()
public org.apache.spark.ml.feature.IDFBase setMinDocFreq(int value)
public StructType validateAndTransformSchema(StructType schema)
schema
- (undocumented)