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

PR addressing Issue #172 #177

Merged
merged 2 commits into from
Dec 8, 2022
Merged

PR addressing Issue #172 #177

merged 2 commits into from
Dec 8, 2022

Conversation

Max-Bladen
Copy link
Collaborator

Adjusted code within the for loop at line 1007 such that for each dist metric and error metric, it checks if there is more than 2 repeats. If so, does the same as before. If not, it takes the minimum error rate (or if nrepeat=2, then the minimum mean error rate across the two repeats)

Also added printed note warning user than with less than nrepeat = 3, results are much to subject to random chance (and that a t test is not employed, rather just a minimum) - line 798

@Max-Bladen Max-Bladen self-assigned this Mar 8, 2022
@Max-Bladen Max-Bladen requested a review from aljabadi March 8, 2022 01:08
@Max-Bladen Max-Bladen linked an issue Mar 9, 2022 that may be closed by this pull request
@Max-Bladen Max-Bladen added the bug-fix For PR's that address an Issue with `bug` label label Mar 9, 2022
Used for testing general functionality of the `perf()` function. The check added here tests for the case when `nrepeat < 3` and `validation != 'loo'`
@Max-Bladen Max-Bladen added the ready-to-review for all PRs that are ready to be reviewed. including complex, larger commits label Sep 22, 2022
@Max-Bladen Max-Bladen changed the title Fix for Issue #172 Bug Fix, Issue #172 Nov 28, 2022
@Max-Bladen Max-Bladen changed the title Bug Fix, Issue #172 PR addressing Issue #172 Nov 28, 2022
@Max-Bladen Max-Bladen merged commit 8cf27e0 into master Dec 8, 2022
@Max-Bladen Max-Bladen deleted the issue-172 branch December 8, 2022 22:27
@Max-Bladen Max-Bladen removed the ready-to-review for all PRs that are ready to be reviewed. including complex, larger commits label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix For PR's that address an Issue with `bug` label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

perf() function returns NAs for choice.ncomp on plsda object
1 participant