Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable coefficient variance computation #141

Merged
merged 1 commit into from
Jul 22, 2016

Conversation

ashelkovnykov
Copy link
Contributor

@ashelkovnykov ashelkovnykov commented Jul 20, 2016

PR for issue #128. It's smaller than it looks, there are a few style changes as well (now using the Spark style guide).

UPDATE: A test on the cluster confirms that variance information is now being output.


@Test
def testUpdateObjective(): Unit = {
val problem = createProblem
val problem = createProblem()
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't believe this function is side-effecting. If it's not, then the convention is to omit the parens.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As per our talk offline: functions that have parameters must have the parentheses, even if all default arguments are used. Scala compiler enforces it.

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.

2 participants