Skip to content

Conversation

@yanboliang
Copy link
Contributor

@yanboliang yanboliang commented Aug 21, 2017

What changes were proposed in this pull request?

sharedParams.scala was generated by SharedParamsCodeGen, but it's not updated in master. Maybe someone manual update sharedParams.scala, this PR fix this issue.

How was this patch tested?

Offline check.

}

/**
* 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),

@SparkQA
Copy link

SparkQA commented Aug 21, 2017

Test build #80929 has finished for PR 19011 at commit 8530741.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor

@WeichenXu123 WeichenXu123 left a comment

Choose a reason for hiding this comment

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

LGTM.

@yanboliang
Copy link
Contributor Author

Merged into master. Thanks.

@asfgit asfgit closed this in 3429619 Aug 23, 2017
@yanboliang yanboliang deleted the sharedParams branch August 23, 2017 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants