Skip to content

Instantly share code, notes, and snippets.

View fullmetalchem15t's full-sized avatar

Yonaton Heit fullmetalchem15t

View GitHub Profile
@slaypni
slaypni / xgb.py
Last active September 24, 2021 17:35
A wrapper class of XGBoost for scikit-learn
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import math
import numpy as np
sys.path.append('xgboost/wrapper/')
import xgboost as xgb