Skip to content

Fixes #12108 : Ridge regression #12108 #12257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 22 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions machine_learning/ridge_regression/test_ridge_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# from ridge_regression import RidgeRegression



def test_feature_scaling():
"""
Tests the feature_scaling function of RidgeRegression.
Expand All @@ -32,6 +33,7 @@ def test_feature_scaling():
"""



def test_fit():
"""
Tests the fit function of RidgeRegression
Expand All @@ -54,6 +56,7 @@ def test_fit():
"""



def test_predict():
"""
Tests the predict function of RidgeRegression
Expand All @@ -77,6 +80,7 @@ def test_predict():
"""



def test_mean_absolute_error():
"""
Tests the mean_absolute_error function of RidgeRegression
Expand All @@ -90,6 +94,7 @@ def test_mean_absolute_error():
"""



if __name__ == "__main__":
import doctest

Expand Down