forestry-labs/distillML

Interpreter(data.points=nrow(train.dta))

JasjeetSekhon opened this issue · 1 comments

If I call Interpreter with (data.points=nrow(train.dta)), where train.dta is the input data, I get an error that says:

y is constant; gaussian glmnet fails at standardization step

data.points is the parameter that represents the indices of the data points from the training data. By setting it to simply nrow(train.dta), it will only sample one point. We've made this clearer in the documentation!