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

[Feature] Adding manual derivate creation as predictor helper function #129

Open
4 tasks
Martin-Jung opened this issue May 31, 2024 · 0 comments
Open
4 tasks
Labels
enhancement New feature or request good first issue Good for newcomers improvement Smaller improvements to existing features

Comments

@Martin-Jung
Copy link
Collaborator

Martin-Jung commented May 31, 2024

Although it is already possible to manually create and alter derivates (predictor_transform() or add_predictors()), it might in many cases be beneficial to manually control this process much more.
For example:

  • When a specific threshold (50% forest cover) needs to be used.
  • A specific function (complex spline or similar) is to be applied to a single or multiple predictors.

Thus I propose to add a add_predictors_prior() function that is customized to adding controlled derivates to a distribution model. Alternatively specific thresholds could be added as parameter to the extisting add_predictors() function so as to allow the specification of variable-specific derivates.

  • Make sure the threshold and other derivate functions easily allow this
  • Support custom formula based transformation
  • Add add_predictor_derivate() function or similar to the package
  • Make a unit test to see that everything works.

Thoughts welcome...

@Martin-Jung Martin-Jung added enhancement New feature or request good first issue Good for newcomers improvement Smaller improvements to existing features labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers improvement Smaller improvements to existing features
Projects
None yet
Development

No branches or pull requests

1 participant