Skip to content

Commit a7b6d11

Browse files
authored
1 parent 6944c85 commit a7b6d11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

machine_learning/xgboostregressor.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def main() -> None:
4040

4141
"""
4242
>>> main()
43-
Mean Absolute Error : 0.30957163379906033
44-
Mean Square Error : 0.22611560196662744
43+
Mean Absolute Error : 0.30957163379906033
44+
Mean Square Error : 0.22611560196662744
4545
4646
4747
The Url for the algorithm
@@ -59,8 +59,8 @@ def main() -> None:
5959
predictions = xgboost(x_train, y_train, x_test)
6060

6161
# Error printing
62-
print(f"Mean Absolute Error :\t {mean_absolute_error(y_test, predictions)}")
63-
print(f"Mean Square Error :\t {mean_squared_error(y_test, predictions)}")
62+
print(f"Mean Absolute Error : {mean_absolute_error(y_test, predictions)}")
63+
print(f"Mean Square Error : {mean_squared_error(y_test, predictions)}")
6464

6565

6666
if __name__ == "__main__":

0 commit comments

Comments
 (0)