3600c23f6c7e20ac9492f1dd3604019b933923d6,deepchem/models/sklearn_models/__init__.py,SklearnModel,fit,#SklearnModel#Any#,40
Before Change
Xs.append(X_batch)
ys.append(y_batch)
ws.append(w_batch)
X = np.concatenate(Xs)
y = np.concatenate(ys).ravel()
w = np.concatenate(ws).ravel()
self.raw_model.fit(X, y, w)
After Change
print("X")
print(X)
print("y")
print(y)
self.raw_model.fit(X, y, w)
y_pred_raw = self.raw_model.predict(X)
def predict_on_batch(self, X):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: deepchem/deepchem
Commit Name: 3600c23f6c7e20ac9492f1dd3604019b933923d6
Time: 2016-04-26
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/sklearn_models/__init__.py
Class Name: SklearnModel
Method Name: fit
Project Name: nipy/dipy
Commit Name: bdf67bc292175a81c63deca27a2056d566db050b
Time: 2013-07-21
Author: arokem@gmail.com
File Name: dipy/reconst/dti.py
Class Name:
Method Name: restore_fit_tensor
Project Name: richzhang/colorization-pytorch
Commit Name: 81942b345eb432b44ff3e4cda05fe71ce8ac7fde
Time: 2018-08-25
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name: