A web-based application for quick and scalable construction of massive machine learning ensembles.
Project description
# Xcessiv
[![PyPI](https://img.shields.io/pypi/v/xcessiv.svg)]() [![license](https://img.shields.io/github/license/reiinakano/xcessiv.svg)]() [![PyPI](https://img.shields.io/pypi/pyversions/xcessiv.svg)]() [![Build Status](https://travis-ci.org/reiinakano/xcessiv.svg?branch=master)](https://travis-ci.org/reiinakano/xcessiv)
### Xcessiv is a tool to help you create the biggest, craziest, and most excessive stacked ensembles you can think of.
Stacked ensembles are simple in theory. You combine the predictions of smaller models and feed those into another model. However, in practice, implementing them can be a major headache.
Xcessiv holds your hand through all the implementation details of creating and optimizing stacked ensembles so you’re free to fully define only the things you care about.
## The Xcessiv process
### Define your base learners and performance metrics
![define_base_learner](docs/_static/baselearner.gif)
### Keep track of hundreds of different model-hyperparameter combinations
![list_base_learner](docs/_static/listbaselearner.gif)
### Effortlessly choose your base learners and create an ensemble with the click of a button
![ensemble](docs/_static/ensemble.gif)
## Features
Fully define your data source, cross-validation process, relevant metrics, and base learners with Python code
Any model following the Scikit-learn API can be used as a base learner
Task queue based architecture lets you take full advantage of multiple cores and embarrassingly parallel hyperparameter searches
Direct integration with [TPOT](https://github.com/rhiever/tpot) for automated pipeline construction
Automated hyperparameter search through Bayesian optimization
Easy management and comparison of hundreds of different model-hyperparameter combinations
Automatic saving of generated secondary meta-features
Stacked ensemble creation in a few clicks
Automated ensemble construction through greedy forward model selection
Export your stacked ensemble as a standalone Python file to support multiple levels of stacking
## Installation and Documentation
You can find installation instructions and detailed documentation hosted [here](http://xcessiv.readthedocs.io/).
## FAQ
#### Where does Xcessiv fit in the machine learning process?
Xcessiv fits in the model building part of the process after data preparation and feature engineering. At this point, there is no universally acknowledged way of determining which algorithm will work best for a particular dataset (see [No Free Lunch Theorem](https://en.wikipedia.org/wiki/No_free_lunch_theorem)), and while heuristic optimization methods do exist, things often break down into trial and error as you try to find the best model-hyperparameter combinations.
Stacking is an almost surefire method to improve performance beyond that of any single model, however, the complexity of proper implementation often makes it impractical to apply them in practice outside of Kaggle competitions. Xcessiv aims to make the construction of stacked ensembles as painless as possible and lower the barrier for entry.
#### I don’t care about fancy stacked ensembles and what not, should I still use Xcessiv?
Absolutely! Even without the ensembling functionality, the sheer amount of utility provided by keeping track of the performance of hundreds, and even thousands of ML models and hyperparameter combinations is a huge boon.
#### How does Xcessiv generate meta-features for stacking?
You can choose whether to generate meta-features through cross-validation (stacked generalization) or with a holdout set (blending). You can read about these two methods and a lot more about stacked ensembles in the [Kaggle Ensembling Guide](https://mlwave.com/kaggle-ensembling-guide/). It’s a great article and provides most of the inspiration for this project.
## Contributing
Xcessiv is in its very early stages and needs the open-source community to guide it along.
There are many ways to contribute to Xcessiv. You could report a bug, suggest a feature, submit a pull request, improve documentation, and many more.
If you would like to contribute something, please visit our [Contributor Guidelines](CONTRIBUTING.md).
## Project Status
Xcessiv is currently in alpha and is unstable. Future versions are not guaranteed to be backwards-compatible with current project files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xcessiv-0.5.1.tar.gz
.
File metadata
- Download URL: xcessiv-0.5.1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e74dab2c8890344277f8749439060564213d20fb6c4db5f0a1c4ba3453d431e |
|
MD5 | 77ad268256bd61a757f104ac24c59a06 |
|
BLAKE2b-256 | 01a8ae149229d32755e65e61f4a42d170d4b7ba8172283feaa7107556ddc6900 |