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

SVM: Fix flaky dev-check failure #284

Closed
wants to merge 2 commits into from

Conversation

njayaram2
Copy link
Contributor

JIRA: MADLIB-1232

SVM has a dev-check query that is flaky on a large cluster. This commit
relaxes the assert condition for that query.

Closes #284

JIRA: MADLIB-1232

SVM has a dev-check query that is flaky on a large cluster. This commit
relaxes the assert condition for that query.

Closes apache#284
@iyerr3
Copy link
Contributor

iyerr3 commented Jun 27, 2018

This test isn't necessarily the best thing to check but if we do want to keep it with some relaxed constraints then maybe we allow the norm to go higher by a small amount iff the total loss is lower. So something along the lines of

norm2(l2.coef) < norm2(noreg.coef) OR
    ( (norm2(l2.coef)-norm2(noreg.coef))/norm2(noreg.coef) < 0.1 AND l2.loss < noreg.loss),

@njayaram2
Copy link
Contributor Author

Thank you for the comment @iyerr3 , will relax the constraint as suggested.

@asfgit
Copy link

asfgit commented Jun 27, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/527/

@asfgit
Copy link

asfgit commented Jun 27, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/528/

@asfgit asfgit closed this in 519acce Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants