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 Summary
Modifier and TypeMethodDescriptiondouble
Param for threshold in binary classification prediction, in range [0, 1].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
-
getThreshold
double getThreshold() -
threshold
DoubleParam threshold()Param for threshold in binary classification prediction, in range [0, 1].- Returns:
- (undocumented)
-