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

Add special case for computation of rSquare and add doctests #212

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

Shimuuar
Copy link
Collaborator

No description provided.

When data variance is zero we can't compute R² directly and have to
special case it.

And if R² gets out of range for example due to singular A^T·A we simply set it
to 0. We explained nothing

Fixes haskell#118
tests/Tests/Math/* are remants from time when math-function were part of
statistics
@Shimuuar Shimuuar merged commit 36d1cc0 into haskell:master Jan 16, 2025
10 checks passed
@Shimuuar Shimuuar deleted the doctest-ols branch January 16, 2025 15:16
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