Skip to main content

amlr - Auto Machine Learning Report

Project description

AMLR - Auto Machine Learning Report

Create a bealtifull Machine Learning Report with One-Line-Code


Main Features:

  • Exploratory Data Analisys
    • Dataset Configuration
      • Shape
      • Detect number of classes (Bernoulli or binary for while)
      • Automatically Duplicate Observations dropped
      • You can drop Duplicate Observations manually as well
      • Exclude automatically features with highest frequencies (Names, IDs, FW keys etc)
    • Regression Analysis
    • Automatic Balance Classes
    • Correlation Analysis
    • Detecting Multicollinearity with VIF
    • Residual Analisys
  • Grid - Hyperparameter optimization
  • Partial dependence plot (PDP)
  • Individual Conditional Expectation (ICE)
  • Variable Importance by Model
  • AML - Partial Dependence
  • Ensemble - (ICE) Individual Condition Expectation
  • Correlation Heatmap by Model
  • Model Performance
    • Analytical Performance Modeling
    • Comparative Metrics Table with:
      • Overall ACC
      • Kappa
      • Overall
      • RACC
      • SOA8(Landis & Koch)
      • SOA8(Fleiss)
      • SOA8(Altman)
      • SOA8(Cicchetti)
      • SOA8(Cramer)
      • SOA8(Matthews)
      • TNR Macro
      • TPR Macro
      • FPR Macro
      • FNR Macro
      • PPV Macro
      • ACC Macro
      • F8 Macro
      • TNR Micro
      • FPR Micro
      • TPR Micro
      • FNR Micro
      • PPV Micro
      • F8 Micro
      • Scott PI
      • Gwet AC8
      • Bennett S
      • Kappa Standard Error
      • Kappa 98% CI
      • Chi-Squared
      • Phi-Squared
      • Cramer V
      • Chi-Squared DF
      • 98% CI
      • Standard Error
      • Response Entropy
      • Reference Entropy
      • Cross Entropy
      • Joint Entropy
      • Conditional Entropy
      • KL Divergence
      • Lambda B
      • Lambda A
      • Kappa Unbiased
      • Overall RACCU
      • Kappa No Prevalence
      • Mutual Information
      • Overall J
      • Hamming Loss
      • Zero-one Loss
      • NIR
      • P-Value
      • Overall CEN
      • Overall MCEN
      • Overall MCC
      • RR
      • CBA
      • AUNU
      • AUNP
      • RCI
      • Pearson C
      • CSI
      • ARI
      • Bangdiwala B
      • Krippendorff
      • Alpha
    • The Best Algorithms Table
      • Automatically chooses the best model based on the metrics above
    • Confusion Matrix for all Models
    • Feature Importance for all models
    • Save all Models into a Pickle file

How to Install

sudo apt-get install default-jre
pip install amlr



How to use

sintax:

from amlr import amlr as rp
import webbrowser

rp = rp.report()
rp.create_report(dataset='data/titanic-passengers.csv', target='Survived', max_runtime_secs=0)

webbrowser.open('report/index.html')

Another option is to load your own data set with pandas and switch, or parse, to the AMLR report command, but you cannot use both methods. The code will be:

df = pd.read_csv('data/titanic-passengers.csv', sep=';')
rp.create_report(data_frame=df, target='Survived', max_runtime_secs=0)

max_run_time

When building a model, this option specifes the maximum runtime in seconds that you want to allot in order to complete the model. If this maximum runtime is exceeded before the model build is completed, then the model will fail.

Specifying max_runtime_secs=0 disables this option for production enviroment, thus allowing for an unlimited amount of runtime. If you just want to do a test, regardless of the results, use 10 seconds or a maximum of 60 seconds.




We tested with the following Dataset

  • Classic dataset on Titanic disaster
    • Bernoulli Distribution Target or Binary Classification
    • Download here: Titanic

Output

See the output here

This is an example of the test made with the Titanic Dataset;



enjoi!

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

amlr-0.3.8.tar.gz (276.8 kB view hashes)

Uploaded Source

Built Distribution

amlr-0.3.8-py3-none-any.whl (276.2 kB view hashes)

Uploaded Python 3

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