This documentation is for astroML version 0.2

This page

Links

astroML Mailing List

GitHub Issue Tracker

Videos

Scipy 2012 (15 minute talk)

Scipy 2013 (20 minute talk)

Citing

If you use the software, please consider citing astroML.

11.3.1.2. astroML.linear_model.PolynomialRegression

class astroML.linear_model.PolynomialRegression(degree=1, fit_intercept=True)

Polynomial Regression with errors in y

Parameters :

degree : int

degree of the polynomial.

fit_intercept : bool (optional)

if True (default) then fit the intercept of the data

Methods

fit(X, y[, dy])
predict(X)
__init__(degree=1, fit_intercept=True)