-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi,
I found the problem that, when the second tuning parameter changes (maxInteractDeg), the model estimated with the same "deg" remains unchanged.
In fact, from this example the design matrix remains unchanged.
x <- iris[,1:4]
dim(getPoly(x, deg = 1, maxInteractDeg = 1)$xdata)
dim(getPoly(x, deg = 1, maxInteractDeg = 2)$xdata)
dim(getPoly(x, deg = 1, maxInteractDeg = 3)$xdata)
dim(getPoly(x, deg = 2, maxInteractDeg = 1)$xdata)
dim(getPoly(x, deg = 2, maxInteractDeg = 2)$xdata)
dim(getPoly(x, deg = 2, maxInteractDeg = 3)$xdata)
What could this problem depend on?
Currently I do not find it useful to vary the model according to the degree of interaction.
Metadata
Metadata
Assignees
Labels
No labels