2bc7fcee8799b6cb67f1f88eee50b5a033572359,kmodes/tests/test_common.py,,test_non_meta_estimators,#,38
Before Change
if name == "kmodes":
for check in _yield_all_checks(name, Estimator):
// Skip these
if hasattr(check, "__name__"):
if check.__name__ not in ("check_clustering",
"check_dtype_object"):
yield _named_check(check, name), name, estimator
else:
yield check, name, estimator
elif name == "kprototypes":
for check in _yield_all_checks(name, Estimator):
// Only do these
if hasattr(check, "__name__") and check.__name__ in (
After Change
else:
raise NotImplementedError
estimator = Estimator()
for check in _yield_all_checks(name, estimator):
if hasattr(check, "__name__") and check.__name__ in relevant_checks:
yield _named_check(check, name), name, estimator
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: nicodv/kmodes
Commit Name: 2bc7fcee8799b6cb67f1f88eee50b5a033572359
Time: 2019-06-05
Author: nico.devos@auto-grid.com
File Name: kmodes/tests/test_common.py
Class Name:
Method Name: test_non_meta_estimators
Project Name: scikit-learn-contrib/sklearn-pandas
Commit Name: 1c7a87e96c4b6180e423586193c26e5ccd2f6bfd
Time: 2015-08-02
Author: mahmoud@thehumangeo.com
File Name: sklearn_pandas/__init__.py
Class Name: DataFrameMapper
Method Name: transform
Project Name: oddt/oddt
Commit Name: 9aea8066d7dd97a6b27f50286adc22fc3c834447
Time: 2018-05-17
Author: maciek@wojcikowski.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: AssignPDBResidueBondOrdersFromTemplate