mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-07 10:00:55 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d8c0b7c7b3
commit
59d3ceba27
|
@ -14,6 +14,7 @@ To run these tests, use the following command:
|
|||
import numpy as np
|
||||
from ridge_regression import RidgeRegression
|
||||
|
||||
|
||||
def test_feature_scaling():
|
||||
"""
|
||||
Tests the feature_scaling function of RidgeRegression.
|
||||
|
@ -32,6 +33,7 @@ def test_feature_scaling():
|
|||
"""
|
||||
pass
|
||||
|
||||
|
||||
def test_fit():
|
||||
"""
|
||||
Tests the fit function of RidgeRegression
|
||||
|
@ -52,6 +54,7 @@ def test_fit():
|
|||
"""
|
||||
pass
|
||||
|
||||
|
||||
def test_predict():
|
||||
"""
|
||||
Tests the predict function of RidgeRegression
|
||||
|
@ -73,6 +76,7 @@ def test_predict():
|
|||
"""
|
||||
pass
|
||||
|
||||
|
||||
def test_mean_absolute_error():
|
||||
"""
|
||||
Tests the mean_absolute_error function of RidgeRegression
|
||||
|
@ -86,6 +90,8 @@ def test_mean_absolute_error():
|
|||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import doctest
|
||||
|
||||
doctest.testmod()
|
Loading…
Reference in New Issue
Block a user