Skip to content

problem with maxInteractDeg #12

@debis93

Description

@debis93

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions