Giter VIP home page Giter VIP logo

xgbregressor's Introduction

XGBRegressor

Overview

A simple implementation to regression problems using Python 2.7, scikit-learn, and XGBoost. Bulk of code from Complete Guide to Parameter Tuning in XGBoost

XGBRegressor is a general purpose notebook for model training using XGBoost. It contains:

  • Functions to preprocess a data file into the necessary train and test set dataframes for XGBoost
  • Functions to convert categorical variables into dummies or dense vectors, and convert string values into Python compatible strings
  • Additional user functionality that allows notification updates to be sent to a user's chosen Slack channel, so that you know when your model has finished training
  • Implementation of sequential hyperparameter grid search via the scikit-learn API
  • Implementation of early stopping via the Learning API

Installing XGBoost for Python

Follow instructions here

Resources

Here are some additional resources if you are looking to explore XGBoost and its various APIs more extensively:

  1. Introduction to Boosted Trees and the XGBoost algorithm
  2. The Python API documentation for XGBoost
  3. Complete Guide to Parameter Tuning in XGBoost
  4. scikit-learn's Gradient Boosting Classifer documentation
  5. scikit-learn's GridSearchCV documentation
  6. Tong He's XGBoost presentation

xgbregressor's People

Contributors

albertkklam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.