Catalog PyPI
Back to packageRELEASE DETAILS

0.0.6

PyPI

AIGrammar

AIGrammar Python package

Published20 Jan 2022
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.0.6 documentation

AIGrammar

About

AIGrammar is all in one and easy to use package for model diagnostic and vulnerability checks. It enable with a simple line of code to check model metrics and prediction generalizability, feature contribution, and model vulnerability against adversarial attacks.

Data

  • Multicollinearity
  • Data drift

Model

  • Metric metric comparison
    • roc_auc vs average precision
  • Optimal threshold vs 50% threshold

Feature importance

  • Too high importance
  • 0 impact
  • Negative influence (FLOFO)
  • Causes of overfitting

Adversarial Attack

  • Model vulnerability identification based on one feature minimal change for getting opposite outcome.

Usage Python 3.7+ required. Installation: pip install AIGrammar

Example:

aig = AIGrammar(train, test, model, target_name)
aig.measure_all(X0_shap_values, X1_shap_values)

print(aig.diagnosis)
print(aig.warnings)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
AIGrammar-0.0.6.tar.gz

sdist · 2.58 KB · Python source

Source file

Repository

NOT_FOUND
zaruhinavasardyan/aigrammar

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:57c7cd8cb1a3bbf333ff4bb35d8987bbc055eac7d508b3d8a106ec432ca737af

Other collected versions

View all collected versions →