All Projects → aporia-ai → dmatrix2np

aporia-ai / dmatrix2np

Licence: GPL-3.0 license
Convert XGBoost's DMatrix format to np.array

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dmatrix2np

Deepdetect
Deep Learning API and Server in C++14 support for Caffe, Caffe2, PyTorch,TensorRT, Dlib, NCNN, Tensorflow, XGBoost and TSNE
Stars: ✭ 2,306 (+16371.43%)
Mutual labels:  xgboost
fast retraining
Show how to perform fast retraining with LightGBM in different business cases
Stars: ✭ 56 (+300%)
Mutual labels:  xgboost
kaggle-berlin
Material of the Kaggle Berlin meetup group!
Stars: ✭ 36 (+157.14%)
Mutual labels:  xgboost
Eli5
A library for debugging/inspecting machine learning classifiers and explaining their predictions
Stars: ✭ 2,477 (+17592.86%)
Mutual labels:  xgboost
decision-trees-for-ml
Building Decision Trees From Scratch In Python
Stars: ✭ 61 (+335.71%)
Mutual labels:  xgboost
go-ml-benchmarks
⏱ Benchmarks of machine learning inference for Go
Stars: ✭ 27 (+92.86%)
Mutual labels:  xgboost
Gbm Perf
Performance of various open source GBM implementations
Stars: ✭ 177 (+1164.29%)
Mutual labels:  xgboost
stackgbm
🌳 Stacked Gradient Boosting Machines
Stars: ✭ 24 (+71.43%)
Mutual labels:  xgboost
A-B-testing-with-Machine-Learning
Implemented an A/B Testing solution with the help of machine learning
Stars: ✭ 37 (+164.29%)
Mutual labels:  xgboost
XGBoost-in-Insurance-2017
Data and Code to reproduce results for my talk at Paris: R in Insurance 2017 Conference
Stars: ✭ 16 (+14.29%)
Mutual labels:  xgboost
Auto viml
Automatically Build Multiple ML Models with a Single Line of Code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.
Stars: ✭ 216 (+1442.86%)
Mutual labels:  xgboost
docker-kaggle-ko
머신러닝/딥러닝(PyTorch, TensorFlow) 전용 도커입니다. 한글 폰트, 한글 자연어처리 패키지(konlpy), 형태소 분석기, Timezone 등의 설정 등을 추가 하였습니다.
Stars: ✭ 46 (+228.57%)
Mutual labels:  xgboost
Machine Learning Code
《统计学习方法》与常见机器学习模型(GBDT/XGBoost/lightGBM/FM/FFM)的原理讲解与python和类库实现
Stars: ✭ 169 (+1107.14%)
Mutual labels:  xgboost
Laurae
Advanced High Performance Data Science Toolbox for R by Laurae
Stars: ✭ 203 (+1350%)
Mutual labels:  xgboost
sagemaker-xgboost-container
This is the Docker container based on open source framework XGBoost (https://xgboost.readthedocs.io/en/latest/) to allow customers use their own XGBoost scripts in SageMaker.
Stars: ✭ 93 (+564.29%)
Mutual labels:  xgboost
Hyperactive
A hyperparameter optimization and data collection toolbox for convenient and fast prototyping of machine-learning models.
Stars: ✭ 182 (+1200%)
Mutual labels:  xgboost
JLBoost.jl
A 100%-Julia implementation of Gradient-Boosting Regression Tree algorithms
Stars: ✭ 65 (+364.29%)
Mutual labels:  xgboost
ml-simulations
Animated Visualizations of Popular Machine Learning Algorithms
Stars: ✭ 33 (+135.71%)
Mutual labels:  xgboost
Machine-Learning-Models
In This repository I made some simple to complex methods in machine learning. Here I try to build template style code.
Stars: ✭ 30 (+114.29%)
Mutual labels:  xgboost
aws-customer-churn-pipeline
An End to End Customer Churn Prediction solution using AWS services.
Stars: ✭ 30 (+114.29%)
Mutual labels:  xgboost

dmatrix2np

Tests PyPI Downloads

Convert XGBoost's DMatrix format to np.array.

Made with ❤️ by Aporia

Usage

To install the library, run:

pip install dmatrix2np

Then, you can call in your code:

from dmatrix2np import dmatrix_to_numpy

converted_np_array = dmatrix_to_numpy(dmatrix)

Development

We use poetry for development:

pip install poetry

To install all dependencies and run tests:

poetry run pytest

To run tests on the entire matrix (Python 3.6, 3.7, 3.8, 3.9 + XGBoost 0.80, 0.90, 1.0, 1.1, 1.2, 1.3, 1.4):

pip install tox
tox

The Research Behind

In the flowing blog post we describe the research that has been done to understand the DMatrix format and creating this library: DMatrix to Numpy Research

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].