@@ -236,14 +236,14 @@ def get_dataset(did):
236236 raise ValueError ("Dataset ID is neither an Integer nor can be "
237237 "cast to an Integer." )
238238
239- description = get_dataset_description (did )
239+ description = _get_dataset_description (did )
240240 arff_file = _get_dataset_arff (did , description = description )
241241
242242 dataset = _create_dataset_from_description (description , arff_file )
243243 return dataset
244244
245245
246- def get_dataset_description (did ):
246+ def _get_dataset_description (did ):
247247 # TODO implement a cache for this that invalidates itself after some
248248 # time
249249 # This can be saved on disk, but cannot be cached properly, because
@@ -295,7 +295,7 @@ def _get_dataset_arff(did, description=None):
295295 pass
296296
297297 if description is None :
298- description = get_dataset_description (did )
298+ description = _get_dataset_description (did )
299299 url = description ['oml:url' ]
300300 return_code , arff_string = _read_url (url )
301301 # TODO: it is inefficient to load the dataset in memory prior to
@@ -307,7 +307,7 @@ def _get_dataset_arff(did, description=None):
307307 return output_file
308308
309309
310- def get_dataset_features (did ):
310+ def _get_dataset_features (did ):
311311 did_cache_dir = _create_dataset_cache_directory (did )
312312 features_file = os .path .join (did_cache_dir , "features.xml" )
313313
@@ -337,7 +337,7 @@ def get_dataset_features(did):
337337 return features
338338
339339
340- def get_dataset_qualities (did ):
340+ def _get_dataset_qualities (did ):
341341 # Dataset qualities are subject to change and must be fetched every time
342342 did_cache_dir = _create_dataset_cache_directory (did )
343343 qualities_file = os .path .join (did_cache_dir , "qualities.xml" )
0 commit comments