radiant-rstats / radiant.model

Code for the Model menu in Radiant
http://radiant-rstats.github.io/radiant.model
Other
20 stars 16 forks source link

Estimating on training set and validating on test set #7

Closed hermandr closed 3 years ago

hermandr commented 3 years ago

Thank you for this great tool, I am able to do analysis without much coding!

I would like to estimate model on train set and validate on test set.

I create a new column in data menu with new column "training" Then in data/view I set training == 1 as a filter I go to model and in OLS create a regression model. So now I want to predict on training == 0 dataset. Also use the evaluate regression.

How to do with the UI easily?

Thank you

vnijs commented 3 years ago

@hermandr The easiest approach is to (1) set a filter, (2) predict for all data, and (3) use Model > Evaluate regression to look at results for training or test data.