4ca74616a886c24dd7946e00f535f323e2e13787,astroML/linear_model/linear_regression.py,LinearRegression,predict,#LinearRegression#Any#,49
Before Change
return self
def predict(self, X):
return np.dot(self._process_X(X), self.coef_)
class PolynomialRegression(LinearRegression):
Polynomial Regression with errors in y
After Change
def predict(self, X):
X = self._transform_X(X)
return self.clf_.predict(X)
@property
def coef_(self):
return self.clf_.coef_
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: astroML/astroML
Commit Name: 4ca74616a886c24dd7946e00f535f323e2e13787
Time: 2014-10-22
Author: jakevdp@gmail.com
File Name: astroML/linear_model/linear_regression.py
Class Name: LinearRegression
Method Name: predict
Project Name: biolab/orange3
Commit Name: 8dc523d9bd92011caca608833221916d9e1b8130
Time: 2014-02-18
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/classification/logistic_regression.py
Class Name: LogisticRegressionClassifier
Method Name: predict
Project Name: data61/python-paillier
Commit Name: eb4ffb6cdaf6f04f978fc57e32c95c8b4a33bcb6
Time: 2017-06-20
Author: giorgio.patrini@anu.edu.au
File Name: examples/federated_learning_with_encryption.py
Class Name: Client
Method Name: fit