We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d84d4 commit 77fcd97Copy full SHA for 77fcd97
machine_learning/xgboostregressor.py
@@ -1,20 +1,11 @@
1
-# -*- coding: utf-8 -*-
2
-"""xgboostregressor.ipynb
3
-
4
-Automatically generated by Colaboratory.
5
6
-Original file is located at
7
- https://colab.research.google.com/drive/1UrXXhxQNEI3rL3182GyZFCqPqyhE1c5g
8
-"""
9
10
# XGBoost Regressor Example
11
from sklearn.datasets import load_boston
12
from xgboost import XGBRegressor
13
from sklearn.metrics import mean_absolute_error, mean_squared_error
14
from sklearn.model_selection import train_test_split
15
16
17
-def main():
+def main() -> None:
18
19
"""
20
The Url for the algorithm
@@ -46,4 +37,4 @@ def main():
46
37
47
38
48
39
if __name__ == "__main__":
49
- main()
40
+ main()
0 commit comments