mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-05-31 12:28:22 +00:00
minor chenges
This commit is contained in:
parent
1918aac31e
commit
f614b2efee
@ -14,7 +14,6 @@ To run these tests, use the following command:
|
|||||||
# from ridge_regression import RidgeRegression
|
# from ridge_regression import RidgeRegression
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_feature_scaling():
|
def test_feature_scaling():
|
||||||
"""
|
"""
|
||||||
Tests the feature_scaling function of RidgeRegression.
|
Tests the feature_scaling function of RidgeRegression.
|
||||||
@ -33,7 +32,6 @@ def test_feature_scaling():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_fit():
|
def test_fit():
|
||||||
"""
|
"""
|
||||||
Tests the fit function of RidgeRegression
|
Tests the fit function of RidgeRegression
|
||||||
@ -56,7 +54,6 @@ def test_fit():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_predict():
|
def test_predict():
|
||||||
"""
|
"""
|
||||||
Tests the predict function of RidgeRegression
|
Tests the predict function of RidgeRegression
|
||||||
@ -80,7 +77,6 @@ def test_predict():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_mean_absolute_error():
|
def test_mean_absolute_error():
|
||||||
"""
|
"""
|
||||||
Tests the mean_absolute_error function of RidgeRegression
|
Tests the mean_absolute_error function of RidgeRegression
|
||||||
@ -94,7 +90,6 @@ def test_mean_absolute_error():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import doctest
|
import doctest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user