Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private[ml] trait HasVarianceCol extends Params {
}

/**
* Trait for shared param threshold (default: 0.5).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The definition in SharedParamsCodeGen has no default value yet, since both LogisticRegression and LinearSVC extends from HasThreshold, but they have different default value.

ParamDesc[Double]("threshold",
        "threshold in binary classification prediction, in range [0, 1]",
        isValid = "ParamValidators.inRange(0, 1)", finalMethods = false, finalFields = false),

* Trait for shared param threshold.
*/
private[ml] trait HasThreshold extends Params {

Expand Down