Skip to content

Commit

Permalink
fix deprecated load_boston from scikitlearn
Browse files Browse the repository at this point in the history
  • Loading branch information
vroulet committed Nov 22, 2023
1 parent 35c2d1f commit dc12ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/implicit_diff/lasso_implicit_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main(argv):
print("Unrolling:", FLAGS.unrolling)

# Prepare data.
X, y = datasets.load_boston(return_X_y=True)
X, y = datasets.load_diabetes(return_X_y=True)
X = preprocessing.normalize(X)
# data = (X_tr, X_val, y_tr, y_val)
data = model_selection.train_test_split(X, y, test_size=0.33, random_state=0)
Expand Down

0 comments on commit dc12ffe

Please sign in to comment.