61c14212f3bc3e9be868e8c2f3f59ba53756ebf1,tests.py,,test_combine_dfs,#,290
Before Change
def test_combine_dfs():
Assert that the TPOT CombineDFs operator creates a combined feature set from two input sets
combined_dfs = data.\
join(data[[column for column in data.columns.values if column not in data.columns.values] ])
assert np.array_equal(CombineDFs()(data, data), combined_dfs)
After Change
def test_combine_dfs():
Assert that the TPOT CombineDFs operator creates a combined feature set from two input sets
features1 = np.delete(data, non_feature_columns, axis=1)
features2 = np.delete(data, non_feature_columns, axis=1)
combined_features = np.concatenate([features1, features2], axis=1)
for col in non_feature_columns:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: EpistasisLab/tpot
Commit Name: 61c14212f3bc3e9be868e8c2f3f59ba53756ebf1
Time: 2016-08-08
Author: supacoofoo@gmail.com
File Name: tests.py
Class Name:
Method Name: test_combine_dfs
Project Name: matplotlib/matplotlib
Commit Name: a7c4e9fbfeefbc78500bed3932f5820cbe3e5b4e
Time: 2017-10-13
Author: fuzzy0427@gmail.com
File Name: examples/event_handling/poly_editor.py
Class Name: PolygonInteractor
Method Name: key_press_callback
Project Name: fgnt/pb_bss
Commit Name: b6ee3d5b67fcb6903156a2b59f4a3832323adf27
Time: 2019-08-16
Author: mail@lukas-drude.de
File Name: nt/evaluation/sxr.py
Class Name:
Method Name: output_sxr
Project Name: matplotlib/matplotlib
Commit Name: 6a18d6b58ec3ca42de7bc2cf5206f117c59e3318
Time: 2017-10-21
Author: tcaswell@gmail.com
File Name: examples/event_handling/poly_editor.py
Class Name: PolygonInteractor
Method Name: key_press_callback