1
$\begingroup$

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.

$\endgroup$

1 Answer 1

1
$\begingroup$

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.

Source: https://towardsdatascience.com/ridge-and-lasso-regression-a-complete-guide-with-python-scikit-learn-e20e34bcbf0b

$\endgroup$
2
  • $\begingroup$ Thanks you very much but there is not enough data in this dataset, I was thinking more of a number of data in the same range as mnist $\endgroup$
    – Marie
    Apr 3, 2020 at 22:06
  • $\begingroup$ You might try looking through some of the datasets here: vincentarelbundock.github.io/Rdatasets/datasets.html $\endgroup$
    – Derek O
    Apr 4, 2020 at 1:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.