marjoleinF / pre

an R package for deriving Prediction Rule Ensembles
58 stars 17 forks source link

Suggestion: Add winsor points to the display of coef.pre #3

Closed RishiSadhir closed 7 years ago

RishiSadhir commented 7 years ago

Currently, coef.pre returns the following columns:

  1. Rule - Variable name or 'rule###'
  2. Coefficient
  3. Description - NA for linear terms

I propose adding the winsor points to the description column for linear terms. Perhaps something like:

9.9625 <= age <= 100

marjoleinF commented 7 years ago

Thanks for the suggestion! This would be helpful indeed, will be implemented in future version.

marjoleinF commented 7 years ago

It's implemented in the coef() and importance measures now, exactly as you suggested. Looks nice, thanks!