MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / xgboost_regressor.py

File xgboost_regressor.py

machine_learning/xgboost_regressor.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# XGBoost Regressor Example
2import numpy as np
3from sklearn.datasets import fetch_california_housing
4from sklearn.metrics import mean_absolute_error, mean_squared_error

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected