Package org.apache.spark.ml.feature
Interface UnivariateFeatureSelectorParams
- All Superinterfaces:
HasFeaturesCol
,HasLabelCol
,HasOutputCol
,Identifiable
,Params
,Serializable
- All Known Implementing Classes:
UnivariateFeatureSelector
,UnivariateFeatureSelectorModel
public interface UnivariateFeatureSelectorParams
extends Params, HasFeaturesCol, HasLabelCol, HasOutputCol
Params for
UnivariateFeatureSelector
and UnivariateFeatureSelectorModel
.-
Method Summary
Modifier and TypeMethodDescriptionThe feature type.double
The label type.The selection mode.The upper bound of the features that selector will select.Methods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelCol
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
-
featureType
The feature type. Supported options: "categorical", "continuous"- Returns:
- (undocumented)
-
getFeatureType
String getFeatureType() -
getLabelType
String getLabelType() -
getSelectionMode
String getSelectionMode() -
getSelectionThreshold
double getSelectionThreshold() -
labelType
The label type. Supported options: "categorical", "continuous"- Returns:
- (undocumented)
-
selectionMode
The selection mode. Supported options: "numTopFeatures" (default), "percentile", "fpr", "fdr", "fwe"- Returns:
- (undocumented)
-
selectionThreshold
DoubleParam selectionThreshold()The upper bound of the features that selector will select.- Returns:
- (undocumented)
-