4257c4824d2ac9c8c0978b2696d77a68783dc2eb,openml/tasks/split.py,OpenMLSplit,_from_arff_file,#,61
Before Change
raise FileNotFoundError(
"Split arff %s does not exist!" % filename
)
splits, meta = scipy.io.arff.loadarff(filename)
name = meta.name
repetitions = OrderedDict()
After Change
raise FileNotFoundError(
"Split arff %s does not exist!" % filename
)
file_data = arff.load(open(filename), return_type=arff.DENSE_GEN)
splits = file_data["data"]
name = file_data["relation"]
attrnames = [attr[0] for attr in file_data["attributes"]]
repetitions = OrderedDict()
type_idx = attrnames.index("type")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: openml/openml-python
Commit Name: 4257c4824d2ac9c8c0978b2696d77a68783dc2eb
Time: 2019-05-28
Author: neeratyoy@gmail.com
File Name: openml/tasks/split.py
Class Name: OpenMLSplit
Method Name: _from_arff_file
Project Name: nipy/dipy
Commit Name: 701869c01b62e0eaba93af96557cda182d52dc65
Time: 2019-07-26
Author: francois.m.rheault@usherbrooke.ca
File Name: dipy/tracking/tests/test_life.py
Class Name:
Method Name: test_fit_data
Project Name: oarriaga/face_classification
Commit Name: afcd2b86b198a6e548ba43ac5cd135a9ccc86ec6
Time: 2017-07-04
Author: arriaga.camargo@gmail.com
File Name: src/utils/grad_cam.py
Class Name:
Method Name: