87ad7b1986825fa9bafa696172de30ec4eaeea90,openml/datasets/functions.py,,_get_cached_dataset_qualities,#Any#,117
Before Change
def _get_cached_dataset_qualities(dataset_id):
cache_dir = config.get_cache_directory()
did_cache_dir = os.path.join(cache_dir, "datasets", str(dataset_id))
qualities_file = os.path.join(did_cache_dir, "qualities.xml")
try:
with io.open(qualities_file, encoding="utf8") as fh:
qualities_xml = fh.read()
After Change
def _get_cached_dataset_qualities(dataset_id):
did_cache_dir = _create_cache_directory_for_id(
DATASETS_CACHE_DIR_NAME, dataset_id,
)
qualities_file = os.path.join(did_cache_dir, "qualities.xml")
try:
with io.open(qualities_file, encoding="utf8") as fh:
qualities_xml = fh.read()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances
Project Name: openml/openml-python
Commit Name: 87ad7b1986825fa9bafa696172de30ec4eaeea90
Time: 2018-04-11
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/datasets/functions.py
Class Name:
Method Name: _get_cached_dataset_qualities
Project Name: openml/openml-python
Commit Name: 87ad7b1986825fa9bafa696172de30ec4eaeea90
Time: 2018-04-11
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/datasets/functions.py
Class Name:
Method Name: _get_cached_dataset_features
Project Name: openml/openml-python
Commit Name: 87ad7b1986825fa9bafa696172de30ec4eaeea90
Time: 2018-04-11
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/datasets/functions.py
Class Name:
Method Name: _get_cached_dataset_arff
Project Name: openml/openml-python
Commit Name: 87ad7b1986825fa9bafa696172de30ec4eaeea90
Time: 2018-04-11
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/datasets/functions.py
Class Name:
Method Name: _get_cached_dataset_description