fetch_bike_sharing#
- skrub.datasets.fetch_bike_sharing(data_home=None)[source]#
Fetch the bike sharing dataset (regression) available at https://github.com/skrub-data/skrub-data-files
This is a regression use-case, where the goal is to predict demand for a bike-sharing service. The features are the dates and holiday and weather information. Size on disk: 1.3MB.
- Parameters:
- data_home
stror path-like, default=None The directory where to download and unzip the files.
- data_home
- Returns:
- bunch
Bunch A dictionary-like object with the following keys:
- bike_sharingDataFrame of shape (17379, 11)
The full dataframe.
- XDataFrame of shape (17379, 10)
Features, i.e. the dataframe without the target labels.
- yDataFrame of shape (17379, 1)
Target labels.
- metadatadict
A dictionary containing the name and target.
- pathstr
The path to the bike sharing CSV file.
- bunch
Gallery examples#
Handling datetime features with the DatetimeEncoder
Handling datetime features with the DatetimeEncoder