b507d8f9e35e0a9d2cbfad02694a079a886a5f35,openml/tasks/task_functions.py,,get_cached_tasks,#,14
Before Change
def get_cached_tasks():
tasks = OrderedDict()
for cache_dir in [config.cachedir, config.privatedir]:
task_cache_dir = os.path.join(cache_dir, "tasks")
directory_content = os.listdir(task_cache_dir)
After Change
def get_cached_tasks():
tasks = OrderedDict()
for cache_dir in [config.get_cache_dir(), config.get_private_dir()]:
task_cache_dir = os.path.join(cache_dir, "tasks")
directory_content = os.listdir(task_cache_dir)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/tasks/task_functions.py
Class Name:
Method Name: get_cached_tasks
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/runs/run.py
Class Name:
Method Name: _get_cached_run
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/tasks/task_functions.py
Class Name:
Method Name: get_cached_task
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/datasets/functions.py
Class Name:
Method Name: _get_cached_dataset_arff
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/tasks/task_functions.py
Class Name:
Method Name: get_cached_tasks
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/tasks/split_functions.py
Class Name:
Method Name: _get_cached_split
Project Name: openml/openml-python
Commit Name: b507d8f9e35e0a9d2cbfad02694a079a886a5f35
Time: 2016-03-17
Author: amueller@nyu.edu
File Name: openml/tasks/split_functions.py
Class Name:
Method Name: _get_cached_splits