Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(2)  |  Derive(0)  |  Import(4)

src/a/s/astroML-0.2/book_figures/chapter8/fig_regression_mu_z.py   astroML(Download)
from astroML.cosmology import Cosmology
from astroML.datasets import generate_mu_z
from astroML.linear_model import LinearRegression, PolynomialRegression,\
    BasisFunctionRegression, NadarayaWatson
 
 
subplots = [221, 222, 223, 224]
classifiers = [LinearRegression(),
               PolynomialRegression(4),
               BasisFunctionRegression('gaussian',

src/a/s/astroML-HEAD/book_figures/chapter8/fig_regression_mu_z.py   astroML(Download)
from astroML.cosmology import Cosmology
from astroML.datasets import generate_mu_z
from astroML.linear_model import LinearRegression, PolynomialRegression,\
    BasisFunctionRegression, NadarayaWatson
 
 
subplots = [221, 222, 223, 224]
classifiers = [LinearRegression(),
               PolynomialRegression(4),
               BasisFunctionRegression('gaussian',

src/a/s/astroML-HEAD/astroML/linear_model/tests/test_linear_regression.py   astroML(Download)
import numpy as np
from numpy.testing import assert_allclose
 
from sklearn.linear_model import LinearRegression as skLinearRegression
from astroML.linear_model import \

src/a/s/astroML-0.2/astroML/linear_model/tests/test_linear_regression.py   astroML(Download)
import numpy as np
from numpy.testing import assert_allclose
 
from sklearn.linear_model import LinearRegression as skLinearRegression
from astroML.linear_model import \