In order to test an algorithm, I am looking for a reference data set for ridge regression in research papers. Kind of like the equivalent of MNIST but for regression.
Try using the Boston house data set.
import pandas as pd from sklearn.datasets import load_boston boston = load_boston() boston_df = pd.DataFrame(boston.data, columns = boston.feature_names) boston_df.insert(0, 'Price', boston.target)
Then you can use Ridge Regression to predict the housing prices from the other features in the data set.