code: def test_LinearRegression_fit_intercept():
      np.random.seed(0)
      X = np.random.random((10, 1))
      y = np.random.random(10)
  
      clf1 = LinearRegression(fit_intercept=False).fit(X, y)
      clf2 = skLinearRegression(fit_intercept=False).fit(X, y)
  
      assert_allclose(clf1.coef_, clf2.coef_)
  
file_path: astroML/astroML/linear_model/tests/test_linear_regression.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from sklearn.linear_model import LinearRegression
  from astroML.linear_model import LinearRegression, PolynomialRegression, BasisFunctionRegression
label_desc: Use image node_id 5 for calling a global function with example usage: test_LinearRegression_fit_intercept() without return types