Skip to main content

Machine learning tool for regression.

Project description

mltool is a simple Learning to Rank tool to build a regression tree based ranking model. Currently mltool supports simple CART and Random Forest. The implementation is strongly inspired by rt-rank, but it lacks the support of Gradient Boosting Regression Trees.

Overview

Features

Despite rt-rank, mltool provides:

  • A parameter to set the seed for the random number generator to make the training deterministic

  • Serializable model

  • Show feature information gain statistics at the end of the training

  • Can be used as an API

Some highlights compared to other Random Forest implemented for Python:

  • The implementation of the Random Forest makes use of numpy and it is quite optimized

  • Parallel Random Forest training

Installation

Install from PyPI using pip:

$ pip install mltool

Now you can run mltool:

$ mltool -h

Documentation

The documentation is hosted by Read the Docs at the following url: http://readthedocs.org/docs/mltool/en/latest/

Future

  • add support for Stochastic Gradient Boosting Regression Trees

  • add support for simple regression and/or classification (i.e. not just focus on ranking)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mltool-0.6.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file mltool-0.6.tar.gz.

File metadata

  • Download URL: mltool-0.6.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mltool-0.6.tar.gz
Algorithm Hash digest
SHA256 91842676c6f57533e161cbeb5a446f61e9f417b9bc9424f366db286f8fdac44f
MD5 ed72183b3c4ce211bb1aa9b7d63a44a2
BLAKE2b-256 3a721bf3b9a2e6582b429de13b65fd92bfa9d3a5840abafeb116102a7b88de10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page