Skip to content

Minor changes to the ML scripts#15

Merged
AbhirupaGhosh merged 12 commits into
mainfrom
ML_script_updates
Jun 10, 2026
Merged

Minor changes to the ML scripts#15
AbhirupaGhosh merged 12 commits into
mainfrom
ML_script_updates

Conversation

@AbhirupaGhosh

@AbhirupaGhosh AbhirupaGhosh commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Some necessary updates

  1. Rename and update MCC calculation functions
  2. Sens and spec in final performance tsvs

Description

What kind of change(s) are included?

  • Feature (adds or updates new capabilities)
  • Bug fix (fixes an issue).
  • Enhancement (adds functionality).
  • Breaking change (these changes would cause existing functionality to not work as expected).

Checklist

Please ensure that all boxes are checked before indicating that this pull request is ready for review.

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have searched for existing content to ensure this is not a duplicate.
  • I have performed a self-review of these additions (including spelling, grammar, and related).
  • I have added comments to my code to help provide understanding.
  • I have added a test which covers the code changes found within this PR.
  • I have deleted all non-relevant text in this pull request template.
  • Reviewer assignment: Tag a relevant team member to review and approve the changes.

@AbhirupaGhosh AbhirupaGhosh changed the title Rename and update MCC calculation functions Minor changes to the ML scripts Feb 17, 2026
@AbhirupaGhosh AbhirupaGhosh marked this pull request as ready for review March 24, 2026 15:08
@AbhirupaGhosh AbhirupaGhosh self-assigned this Mar 24, 2026

@jananiravi jananiravi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Again, looks good to me, but need local runners: @epbrenner @eboyer221. Thanks!

Comment thread R/core_ml.R
Comment thread R/core_ml.R
Comment thread R/core_ml.R Outdated
Comment thread vignettes/intro.Rmd Outdated
Comment thread vignettes/intro.Rmd Outdated
Comment thread R/prep_ml.R
Added Matthews correlation coefficient (MCC) and normalized MCC (nMCC) support throughout the package.

Updated argument checks and plotting docs to accept an avg_mcc option, track mcc in runIFE results, and add related globals.

Also updated README, vignette, and docs (including example file paths) to mention MCC and nMCC and to reflect the updated outputs. Moved Cje to Sfl (one consistent example throughout.

Minor fixes: ensure test predictions are assigned to all_results in runMLPipeline and improve function return documentation.
jananiravi
jananiravi previously approved these changes May 11, 2026

@jananiravi jananiravi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

added support for MCC + nMCC + minor fixes.

@AbhirupaGhosh AbhirupaGhosh requested review from amcim and eboyer221 June 2, 2026 14:04
Comment thread R/core_ml.R Outdated
Comment thread R/core_ml.R Outdated
epbrenner and others added 2 commits June 10, 2026 13:45
Updating user-facing language when class balance is assessed

Co-authored-by: Evan Pierce Brenner <108823789+epbrenner@users.noreply.github.com>
Adding line 102 to prep_ml.R

Co-authored-by: Abhirupa Ghosh <100681585+AbhirupaGhosh@users.noreply.github.com>
@AbhirupaGhosh AbhirupaGhosh requested a review from epbrenner June 10, 2026 19:59

@epbrenner epbrenner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Set to merge! :shipit:

@AbhirupaGhosh AbhirupaGhosh merged commit 43081a4 into main Jun 10, 2026
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.

3 participants