535923e2b752ab44be4516b10947f02acfb44769,celer/wrapper.py,,celer,#,14
Before Change
X = np.asfortranarray(X)
else:
if X.getformat() != "csc" or not X.has_sorted_indices:
raise ValueError("Give X as csc matrix with sorted indices")
n_features = X.shape[1]
if beta_init is None:
beta_init = np.zeros(n_features)
After Change
"sorted indices.")
// cython function only accepts float64 for X and y:
if X.dtype != "float64":
X = X.astype(np.float64)
if y.dtype != "float64":
y = y.astype(np.float64)
n_features = X.shape[1]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: mathurinm/celer
Commit Name: 535923e2b752ab44be4516b10947f02acfb44769
Time: 2018-04-18
Author: mathurin.massias@gmail.com
File Name: celer/wrapper.py
Class Name:
Method Name: celer
Project Name: keras-team/keras
Commit Name: b4e01aee7f4a9b815542c77c3d537e7ba66dd8c9
Time: 2019-03-14
Author: abhai.dilip@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: cumsum
Project Name: scikit-image/scikit-image
Commit Name: b8a5e5db6c2c0ff9540d84c11c05b21fc6023ae6
Time: 2020-05-04
Author: rfezzani@gmail.com
File Name: skimage/color/colorconv.py
Class Name:
Method Name: rgba2rgb