Data Loader¶
To test Eurybia library, it provides a data_loader function which returns clearly labeled datasets. These datasets allow any new user to easily test the eurybia library on a classification or regression problem
Data loader module
- eurybia.data.data_loader.data_loading(dataset)[source]¶
data_loading allows Eurybia user to try the library with small but clear datasets. Titanic, house_prices or us_car_accident data.
Example
>>> from eurybia.data.data_loader import data_loading >>> house_df, house_dict = data_loading('house_prices')
- Parameters
dataset (String) –
- Dataset’s name to return.
’titanic’
’house_prices’
’us_car_accident’
- Returns
data (pandas.DataFrame) – Dataset required
dict ((Dictionnary, Optional)) – If exist, columns labels dictionnary associated to the dataset.