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.
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.