mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +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
27c188b264
commit
2816c62c38
@ -175,7 +175,6 @@ def main():
|
|||||||
test_cases = (np.random.rand(10) * 2) - 1
|
test_cases = (np.random.rand(10) * 2) - 1
|
||||||
predictions = np.array([tree.predict(x) for x in test_cases])
|
predictions = np.array([tree.predict(x) for x in test_cases])
|
||||||
|
|
||||||
|
|
||||||
mse_error = np.mean((predictions - test_cases) ** 2)
|
mse_error = np.mean((predictions - test_cases) ** 2)
|
||||||
|
|
||||||
"""RMSE error"""
|
"""RMSE error"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user