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

Fix DFPTraining validation set option #709

Merged

Conversation

efajardo-nv
Copy link
Contributor

  • Fix validation_size validation. Allow for validation_size=0.0 for no validation set.
  • Pass run_validation to dfencoder fit(). This option was recently added to fit() and is now required to enable use of a validation set and early stopping.

Fixes #707
Fixes #708

@efajardo-nv efajardo-nv added bug Something isn't working non-breaking Non-breaking change labels Feb 14, 2023
@efajardo-nv efajardo-nv requested a review from a team as a code owner February 14, 2023 19:09
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

Can we add a test to check this functionality? Otherwise its good to go.

Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

Can we add a test to check this functionality? And then we should be good to go.

@mdemoret-nv
Copy link
Contributor

Created issue #733 to address my comment since we will need a bigger solution for testing examples.

@mdemoret-nv
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit ccb0f4a into nv-morpheus:branch-23.03 Feb 23, 2023
jjacobelli pushed a commit to jjacobelli/Morpheus that referenced this pull request Mar 7, 2023
- Fix `validation_size` validation. Allow for `validation_size=0.0` for no validation set.
- Pass `run_validation` to dfencoder `fit()`. This option was recently added to `fit()` and is now required to enable use of a validation set and early stopping. 

Fixes nv-morpheus#707
Fixes nv-morpheus#708

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)
  - David Gardner (https://github.com/dagardner-nv)

URL: nv-morpheus#709
@efajardo-nv efajardo-nv deleted the dfp-validation-set-fix branch July 29, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Archived in project
3 participants