411a45034cd2c77a6837e66175493bcb2a819a04,tests/data/test_edge_splitter.py,TestEdgeSplitterHomogeneous,test_split_data_local,#TestEdgeSplitterHomogeneous#,109
Before Change
sampling_probs = [0.2, 0.1, 0.2, 0.5, 0.2] // values don"t sum to 1
with pytest.raises(ValueError):
g_test, edge_data_ids_test, edge_data_labels_test = self.es_obj.train_test_split(p=p,
method="local",
probs=sampling_probs)
class TestEdgeSplitterHeterogeneous(object):
After Change
sampling_probs = [0.2, 0.1, 0.2, 0.5, 0.2] // values don"t sum to 1
with pytest.raises(ValueError):
self.es_obj.train_test_split(p=p,
method="local",
probs=sampling_probs)
class TestEdgeSplitterHeterogeneous(object):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: stellargraph/stellargraph
Commit Name: 411a45034cd2c77a6837e66175493bcb2a819a04
Time: 2018-06-13
Author: pantelis.elinas@data61.csiro.au
File Name: tests/data/test_edge_splitter.py
Class Name: TestEdgeSplitterHomogeneous
Method Name: test_split_data_local
Project Name: stellargraph/stellargraph
Commit Name: 411a45034cd2c77a6837e66175493bcb2a819a04
Time: 2018-06-13
Author: pantelis.elinas@data61.csiro.au
File Name: tests/data/test_edge_splitter.py
Class Name: TestEdgeSplitterCommon
Method Name: test_split_data_method_parameter
Project Name: stellargraph/stellargraph
Commit Name: 411a45034cd2c77a6837e66175493bcb2a819a04
Time: 2018-06-13
Author: pantelis.elinas@data61.csiro.au
File Name: tests/data/test_edge_splitter.py
Class Name: TestEdgeSplitterCommon
Method Name: test_split_data_p_parameter
Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tpot/tpot.py
Class Name:
Method Name: main