Skip to main content

Interest Measures Package for Association Rules and Class Association Rules

Project description

Interest Measure Package for Association Rules and Class Association Rules

This package provides a set of interest measures for association rules and class association

Installation

pip install interest-measures

Usage

from interest_measures import InterestMeasures

im = InterestMeasures(A=[0.1, 0.2, 0.3, 0.4],
                      B=[0.5, 0.6, 0.7, 0.8],
                      AB=[0.1, 0.2, 0.3, 0.2], N=100)

print(im.confidence)  # [1. 1. 1. 0.5]
print(im.lift)  # [2. 1.66666667 1.42857143 0.625 ]
print(im.conviction)  # [inf inf inf 0.4]

Available Interest Measures

  • Accuracy
  • Added value
  • Chi square
  • Collective strength
  • Complement class support
  • Conditional entropy
  • Confidence
  • Confidence causal
  • Confirm causal
  • Confirm descriptive
  • Confirmed confidence causal
  • Correlation coefficient
  • Cosine
  • Coverage
  • Dir
  • F measure
  • Gini index
  • Goodman kruskal
  • Implication index
  • J measure
  • Kappa
  • Klosgen
  • K-measure
  • Kulczynski 2
  • Least contradiction
  • Leverage
  • Lift
  • Loevinger
  • Logical necessity
  • Mutual information
  • Normalized mutual information
  • Odd multiplier
  • Odds ratio
  • One way support
  • Piatetsky Shapiro
  • Prevalence
  • Putative causal dependency
  • Recall
  • Relative risk
  • Specificity
  • Support
  • Theil Uncertainty Coefficiente
  • Tic
  • Two way support

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

interest_measures-0.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

interest_measures-0.0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file interest_measures-0.0.2.tar.gz.

File metadata

  • Download URL: interest_measures-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Linux/6.5.0-35-generic

File hashes

Hashes for interest_measures-0.0.2.tar.gz
Algorithm Hash digest
SHA256 99a9f6637a8c004694285ccae662ec854a6fda300dece5c891897072954ab075
MD5 86140c15a2f167c0cdf6e6e5c1ef45d1
BLAKE2b-256 6a413ec54ca608cdc0dbd45be22987a4dda201849e1db4a466e3e30043ce564f

See more details on using hashes here.

File details

Details for the file interest_measures-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: interest_measures-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Linux/6.5.0-35-generic

File hashes

Hashes for interest_measures-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04cb15d0c9feac4aabddc1995a5622059c6341990739886453749aa79713a96b
MD5 315da91cf7d765755f512d3ec2166616
BLAKE2b-256 d11c78d608930da9f3126ed3af8c8bbbd10474d088f4be0102936f56525253c6

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