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

Fixed test for logistic regression, slope 1. #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gbrsales
Copy link

Checks fail with the following log:

1) test: LogisticRegressionTest::test_logistic_regression (F) line: 103 tests/logistic_regression_test.cpp
assertion failed
- Expression: abs(coeffs.at(1)-0.49)<0.01
- Example 2: Slope1 term doesn't match

According to the documentation the expected value for slope 1 is -0.49 and the test should thus have the opposite sign.

Checks fail with the following log:

```
1) test: LogisticRegressionTest::test_logistic_regression (F) line: 103 tests/logistic_regression_test.cpp
assertion failed
- Expression: abs(coeffs.at(1)-0.49)<0.01
- Example 2: Slope1 term doesn't match
```

According to the documentation the expected value for slope 1 is
`-0.49` and the test should thus have the opposite sign.
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.

1 participant