cd840732e126d34b482f50140828cf93427ac8b5,sklearn/pipeline.py,FeatureUnion,transform,#FeatureUnion#Any#,973
Before Change
if not Xs:
// All transformers are None
return np.zeros((X.shape[0], 0))
if any(sparse.issparse(f) for f in Xs):
Xs = sparse.hstack(Xs).tocsr()
else:
Xs = np.hstack(Xs)
return Xs
def _update_transformer_list(self, transformers):
transformers = iter(transformers)
After Change
// All transformers are None
return np.zeros((X.shape[0], 0))
return self._hstack(Xs)
def _hstack(self, Xs):
if any(sparse.issparse(f) for f in Xs):
Xs = sparse.hstack(Xs).tocsr()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: scikit-learn/scikit-learn
Commit Name: cd840732e126d34b482f50140828cf93427ac8b5
Time: 2020-07-08
Author: cary.goltermann@gmail.com
File Name: sklearn/pipeline.py
Class Name: FeatureUnion
Method Name: transform
Project Name: scikit-learn/scikit-learn
Commit Name: cd840732e126d34b482f50140828cf93427ac8b5
Time: 2020-07-08
Author: cary.goltermann@gmail.com
File Name: sklearn/pipeline.py
Class Name: FeatureUnion
Method Name: fit_transform
Project Name: theislab/scanpy
Commit Name: 23320c8733b232b72606dbcc7f79a0d51d3fcc39
Time: 2019-08-20
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_deprecated/highly_variable_genes.py
Class Name:
Method Name: filter_genes_cv_deprecated
Project Name: theislab/scanpy
Commit Name: 23320c8733b232b72606dbcc7f79a0d51d3fcc39
Time: 2019-08-20
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_deprecated/highly_variable_genes.py
Class Name:
Method Name: filter_genes_fano_deprecated