Elec2#
- class frouros.datasets.real.Elec2(file_path: Optional[str] = None)#
Elec2 dataset [harries1999splice].
- References:
[harries1999splice]Harries, Michael. “Splice-2 comparative evaluation: Electricity pricing.” (1999).
- read_file(**kwargs) ndarray #
Read file.
- Parameters:
kwargs (dict) – dict of kwargs
- Returns:
read file
- Return type:
numpy.ndarray
- download() None #
Download dataset.
- Raises:
DownloadError – Download exception
- property file_path: Optional[Path]#
File path property.
- Returns:
file path for the downloaded dataset
- Return type:
Optional[Path]
- load(**kwargs) Any #
Load dataset.
- Parameters:
kwargs (dict) – dict of kwargs
- Raises:
FileNotFoundError – File not found exception
ReadFileError – Read file exception
- Returns:
loaded dataset
- Return type:
Any
- property url: Union[str, List[str]]#
URL property.
- Returns:
URL from where dataset will be downloaded
- Return type:
Union[str, List[str]]