Skip to main content

MALSS: MAchine Learning Support System

Project description

malss is a python module to facilitate machine learning tasks. This module is written to be compatible with the scikit-learn algorithms and the other scikit-learn-compatible algorithms.

https://travis-ci.org/canard0328/malss.svg?branch=master

Requirements

These are external packages which you will need to install before installing malss.

  • python (>= 2.7, 3.x’s are not supported)

  • numpy (>= 1.6.1)

  • scipy (>= 0.9)

  • scikit-learn (>= 0.15)

  • matplotlib (>= 1.1)

  • pandas (>= 0.13)

  • jinja2 (>= 2.6)

Windows

If there are no binary packages matching your Python version you might to try to install these dependencies from Christoph Gohlke Unofficial Windows installers.

Installation

pip install malss

Example

Classification:

from malss import MALSS
from sklearn.datasets import load_iris
iris = load_iris()
cls = MALSS(iris.data, iris.target, task='classification')
cls.execute()
cls.make_report('classification_result')
cls.make_sample_code('classification_sample_code.py')

Regression:

from malss import MALSS
from sklearn.datasets import load_boston
boston = load_boston()
cls = MALSS(boston.data, boston.target, task='regression')
cls.execute()
cls.make_report('regression_result')
cls.make_sample_code('regression_sample_code.py')

Change algorithm:

from malss import MALSS
from sklearn.datasets import load_iris
iris = load_iris()
cls = MALSS(iris.data, iris.target, task='classification')
algorithms = cls.get_algorithms()
# check algorithms here
cls.remove_algorithm(0)
cls.add_algorithm(RF(n_jobs=3),
                  [{'n_estimators': [10, 30, 50],
                    'max_depth': [3, 5, None],
                    'max_features': [0.3, 0.6, 'auto']}],
                  'Random Forest')
cls.execute()
cls.make_report('classification_result')
cls.make_sample_code('classification_sample_code.py')

API

View the documentation here.

Project details


Download files

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

Source Distributions

malss-0.3.1.zip (147.8 kB view details)

Uploaded Source

malss-0.3.1.tar.gz (119.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

malss-0.3.1.win-amd64.exe (242.0 kB view details)

Uploaded Source

File details

Details for the file malss-0.3.1.zip.

File metadata

  • Download URL: malss-0.3.1.zip
  • Upload date:
  • Size: 147.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for malss-0.3.1.zip
Algorithm Hash digest
SHA256 1e94bcb677ec88b966dfbe1013ed92a6a68859a62805761104ff485d919d191b
MD5 780912b8f228f2537c529f47a773d6ee
BLAKE2b-256 d5c589f61cde057fd973d84ba7026fcbcbee8fa45d06b145a7ac8bfeba1fa321

See more details on using hashes here.

File details

Details for the file malss-0.3.1.tar.gz.

File metadata

  • Download URL: malss-0.3.1.tar.gz
  • Upload date:
  • Size: 119.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for malss-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8d64bd34a0b20d2a1c003f2aa8b5da0f9c2526b7e011fb0a89ad085352a85e41
MD5 1933382cd0dfdcb0a10d807a320c1ad5
BLAKE2b-256 4177d2f3b0ed75bfb8dfa63842aebb5ad8f75b5bd4d6b33c1c348a183a6c8065

See more details on using hashes here.

File details

Details for the file malss-0.3.1.win-amd64.exe.

File metadata

  • Download URL: malss-0.3.1.win-amd64.exe
  • Upload date:
  • Size: 242.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for malss-0.3.1.win-amd64.exe
Algorithm Hash digest
SHA256 51931b8c76de880b51773f7d294c882f6e66136b2134fb1d0fd76da21249148c
MD5 11a3a9c63ca4f47894a0f0739cc477df
BLAKE2b-256 9f2abd2adafd7a2492890fdfc35e3bb7daabafe3b95b69542aa2df9b375bf0d1

See more details on using hashes here.

Supported by

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