Skip to content

Performs and visualizes an ABC analysis with automated limit detection.

License

Notifications You must be signed in to change notification settings

fkay/abc_analysis_dataframe

 
 

Repository files navigation

ABC analysis

Performs and visualizes an ABC analysis with automated limit detection.

This package is a Python implementation of the R package ABCanalysis.

The package is based on "Computed ABC Analysis for rational Selection of most informative Variables in multivariate Data", PLoS One. Ultsch. A., Lotsch J. (2015) https://doi.org/10.1371/journal.pone.0129767

Where to get it

The source code is hosted on GitHub at: https://github.com/viessmann/abc_analysis

# First installation via PyPI
pip install abc_analysis
# Update via PyPI
pip install abc_analysis --upgrade

Basic usage

from abc_analysis import abc_analysis, abc_plot

# Perform an ABC analysis on a numeric vector (without plotting)
dctAnalysis = abc_analysis([1, 15, 25, 17, 2, 3, 5, 6, 2, 3, 22])

# Perform an ABC analysis with plotting
dctAnalysis = abc_analysis([1, 15, 25, 17, 2, 3, 5, 6, 2, 3, 22], True)

# Plot saved results of an ABC analysis
abc_plot(dctAnalysis)

Dependencies

About

Performs and visualizes an ABC analysis with automated limit detection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%