Skip to content

How to construct a polynomial for numerical data? #152

Open
@Alalalalaki

Description

@Alalalalaki

For example I have some variables "x1, x2, x3, ...", and want all polynomials with a simple choice on the degree. The only solution I know so far is by using preprocessing.PolynomialFeatures in sklearn. But I can't see why it cannot be done simply in patsy.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions