evalml.pipelines.components.PolynomialDetrender.__init__

PolynomialDetrender.__init__(degree=1, random_seed=0, **kwargs)[source]

Initialize the PolynomialDetrender.

Parameters
  • degree (int) – Degree for the polynomial. If 1, linear model is fit to the data. If 2, quadratic model is fit, etc. Default of 1.

  • random_seed (int) – Seed for the random number generator. Defaults to 0.