Package org.apache.spark.ml.param.shared
Interface HasThreshold
- All Superinterfaces:
- Identifiable,- Params,- Serializable
- All Known Subinterfaces:
- LinearSVCParams,- LogisticRegressionParams
- All Known Implementing Classes:
- Binarizer,- LinearSVC,- LinearSVCModel,- LogisticRegression,- LogisticRegressionModel
Trait for shared param threshold. This trait may be changed or
 removed between minor versions.
- 
Method SummaryModifier and TypeMethodDescriptiondoubleParam for threshold in binary classification prediction, in range [0, 1].Methods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
- 
Method Details- 
getThresholddouble getThreshold()
- 
thresholdDoubleParam threshold()Param for threshold in binary classification prediction, in range [0, 1].- Returns:
- (undocumented)
 
 
-