module mlmodel._extended_features_polynomial

Short summary

module mlinsights.mlmodel._extended_features_polynomial

Implements new features such as polynomial features.

source on GitHub

Functions

function

truncated documentation

_combinations_poly

Computes all polynomial features combinations.

_transform_iall

Computes the polynomial features

_transform_ionly

Computes the polynomial features

Documentation

Implements new features such as polynomial features.

source on GitHub

mlinsights.mlmodel._extended_features_polynomial._combinations_poly(n_features, degree, interaction_only, include_bias)[source]

Computes all polynomial features combinations.

mlinsights.mlmodel._extended_features_polynomial._transform_iall(degree, bias, XP, X, multiply, final)[source]

Computes the polynomial features

mlinsights.mlmodel._extended_features_polynomial._transform_ionly(degree, bias, XP, X, multiply, final)[source]

Computes the polynomial features