This commit is contained in:
jbsch 2024-10-24 12:04:09 +05:30
commit 1918aac31e

View File

@ -14,6 +14,7 @@ To run these tests, use the following command:
# from ridge_regression import RidgeRegression
def test_feature_scaling():
"""
Tests the feature_scaling function of RidgeRegression.
@ -32,6 +33,7 @@ def test_feature_scaling():
"""
def test_fit():
"""
Tests the fit function of RidgeRegression
@ -54,6 +56,7 @@ def test_fit():
"""
def test_predict():
"""
Tests the predict function of RidgeRegression
@ -77,6 +80,7 @@ def test_predict():
"""
def test_mean_absolute_error():
"""
Tests the mean_absolute_error function of RidgeRegression
@ -90,6 +94,7 @@ def test_mean_absolute_error():
"""
if __name__ == "__main__":
import doctest