Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ xgboost_classifier.py
File
xgboost_classifier.py
machine_learning/xgboost_classifier.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# XGBoost Classifier Example
2
import
numpy
as
np
3
from
matplotlib
import
pyplot
as
plt
4
from
sklearn.datasets
import
load_iris
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected