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.14)

  • 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.2.2.zip (143.3 kB view details)

Uploaded Source

malss-0.2.2.tar.gz (115.5 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.2.2.win-amd64.exe (238.7 kB view details)

Uploaded Source

File details

Details for the file malss-0.2.2.zip.

File metadata

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

File hashes

Hashes for malss-0.2.2.zip
Algorithm Hash digest
SHA256 2d100e692fb82c9237c9c97acbe5ce694ba2f04b62a4c8d0c52f3743cad430f6
MD5 3dd1139d8ba2b1ce7608619b293b4060
BLAKE2b-256 47aee72fe7b880ceddbfe0a0f6f3a6fd1b3353e5e3b6563e8fb9f052d43a2d1d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for malss-0.2.2.tar.gz
Algorithm Hash digest
SHA256 fffb5dacdc07712ce1c9ed8887b58c505687cbb2c6f979684b03a98d7f3c849f
MD5 1f5b41bad02630d82abb2150fc9ef4a6
BLAKE2b-256 b3689985ae8ddf9a66e1dbd1cce3d71853dd9bfd9f296b6037bb16078acee21b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for malss-0.2.2.win-amd64.exe
Algorithm Hash digest
SHA256 1fe9ce122a264280f2d0bcff921e76ca508c39fee8c850553badc4b501946503
MD5 373ce2477dd149fd0a827b4456cb86a9
BLAKE2b-256 1914ab083e3d05d6402f4b45c3ddd198a08c5247dfbeaed4d33700e46ca94890

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