opytimark.utils.loader¶
Auxiliary files loader.
- opytimark.utils.loader.download_file(url: str, output_path: str)¶
Downloads a file given its URL and the output path to be saved.
- Parameters
url – URL to download the file.
output_path – Path to save the downloaded file.
- opytimark.utils.loader.load_cec_auxiliary(name: str, year: str)¶
Loads auxiliary data for CEC-based benchmarking functions.
- Parameters
name – Name of function to be loaded.
year – Year of function to be loaded.
- Returns
Auxiliary data.
- Return type
(np.ndarray)
- opytimark.utils.loader.untar_file(file_path: str)¶
De-compress a file with .tar.gz.
- Parameters
file_path – Path of the file to be de-compressed.
- Returns
The folder that has been de-compressed.
- Return type
(str)