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

Target Encoding data_leakage_handling parameter values updated in R to match Python #7890

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

Some follow-up tasks to the big TE refactoring/API update PR: [https://github.com//pull/4816|https://github.com//pull/4816]

data_leakage_handling consistent param value names in Py/R (enable both syntax on both clients); use the Python names in docs/examples/tests

  • none (Python)/None (R): Do not holdout anything. Using whole frame for training
  • k_fold (Python)/KFold (R): Encodings for a fold are generated based on out-of-fold data.
  • leave_one_out (Python)/LeaveOneOut (R): The current row’s response value is subtracted from the pre-calculated per-level frequencies.
  1. Add backwards compatibility R tests.
  2. Also add default values for all the arguments in [TE user guide page|http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-munging/target-encoding.html].
  3. Lastly, clean up any other code on the user guide page that is now outdated.
@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7749
Assignee: Sebastien Poirier
Reporter: Erin LeDell
State: Resolved
Fix Version: 3.32.0.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#5124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant