File tree 1 file changed +5
-0
lines changed
machine_learning/ridge_regression
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 14
14
# from ridge_regression import RidgeRegression
15
15
16
16
17
+
17
18
def test_feature_scaling ():
18
19
"""
19
20
Tests the feature_scaling function of RidgeRegression.
@@ -32,6 +33,7 @@ def test_feature_scaling():
32
33
"""
33
34
34
35
36
+
35
37
def test_fit ():
36
38
"""
37
39
Tests the fit function of RidgeRegression
@@ -54,6 +56,7 @@ def test_fit():
54
56
"""
55
57
56
58
59
+
57
60
def test_predict ():
58
61
"""
59
62
Tests the predict function of RidgeRegression
@@ -77,6 +80,7 @@ def test_predict():
77
80
"""
78
81
79
82
83
+
80
84
def test_mean_absolute_error ():
81
85
"""
82
86
Tests the mean_absolute_error function of RidgeRegression
@@ -90,6 +94,7 @@ def test_mean_absolute_error():
90
94
"""
91
95
92
96
97
+
93
98
if __name__ == "__main__" :
94
99
import doctest
95
100
You can’t perform that action at this time.
0 commit comments