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)
Release files for AIGrammar 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| AIGrammar-0.0.6.tar.gz | 2.6 kB | Details |
Release files / AIGrammar-0.0.6.tar.gz
| Download URL | AIGrammar-0.0.6.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7aa4b7a48e4768ac8cc21d788682440eec4112b996ad63dc812099a1137c9c6
|
|
BLAKE2b-256 checksum How to use checksums |
97773af5016e9aeb3843725a45068735aa0ea03c94976ed7c759f82a8ad31723
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|