Catalog PyPI
PACKAGE EXPLORERView in registry

AIGrammar

PyPI

AIGrammar Python package

Versions collected1
Direct dependencies0From release 0.0.6
Last observed21 Oct, 10:50 UTC

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.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.620 Jan 20220

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:283b734eddcf0b0578c5ab33711c1185f58d3915af751483335225ef3ae2012c