"""Load and return the wine dataset, which can be used for multiclass classification problems."""importwoodworkaswwimportevalmlfromevalml.preprocessingimportload_data
[docs]defload_wine():"""Load wine dataset. Multiclass problem. Returns: (pd.Dataframe, pd.Series): X and y """filepath=("https://oss.alteryx.com/datasets/wine.csv?library=evalml&version="+evalml.__version__)X,y=load_data(filepath,index=None,target="target")y.name=NoneX.ww.init()y=ww.init_series(y)returnX,y