Package org.apache.spark.ml.feature
Interface IDFBase
- All Superinterfaces:
HasInputCol
,HasOutputCol
,Identifiable
,Params
,Serializable
-
Method Summary
Modifier and TypeMethodDescriptionint
The minimum number of documents in which a term should appear.validateAndTransformSchema
(StructType schema) Validate and transform the input schema.Methods inherited from interface org.apache.spark.ml.param.shared.HasInputCol
getInputCol, inputCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasOutputCol
getOutputCol, outputCol
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
-
Method Details
-
getMinDocFreq
int getMinDocFreq() -
minDocFreq
IntParam minDocFreq()The minimum number of documents in which a term should appear. Default: 0- Returns:
- (undocumented)
-
validateAndTransformSchema
Validate and transform the input schema.- Parameters:
schema
- (undocumented)- Returns:
- (undocumented)
-