Helper modules for AI Engineering Interpretability Bootcamp implementations
Project description
AI Engineering Interpretability Utils
Helper modules for AI Engineering Interpretability Bootcamp implementations.
This package provides reusable utilities for:
- Loading and preprocessing common datasets (Adult, Diabetes, Bank Marketing, Gas Turbine)
- Model training and evaluation helpers
- Visualization utilities for interpretability
Installation
pip install aieng-interp-utils
Usage
from aieng.interp.data import load_adult_dataset, preprocess_adult_data
from aieng.interp.models import train_pytorch_model, get_device
from aieng.interp.visualization import plot_confusion_matrix, plot_roc_curve
# Load and preprocess data
df = load_adult_dataset("path/to/data")
X_train, X_test, y_train, y_test = preprocess_adult_data(df)
# Train model
device = get_device()
model = train_pytorch_model(model, X_train, y_train, device=device)
# Visualize results
plot_roc_curve(y_test, y_pred_proba)
plot_confusion_matrix(y_test, y_pred)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aieng_interp_utils-1.0.0.tar.gz.
File metadata
- Download URL: aieng_interp_utils-1.0.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f98e5771561eab734bb84325f927c3d83ee1c34f352fcf91af9dba8e8d25e216
|
|
| MD5 |
495379f8a16c90c9d7ed06a1dee2a493
|
|
| BLAKE2b-256 |
306fe511af4f03f03341e403f200f3fec19fe32d3bdff170fe1709aa16dd0b51
|
File details
Details for the file aieng_interp_utils-1.0.0-py3-none-any.whl.
File metadata
- Download URL: aieng_interp_utils-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf32bcbe4fee911fcf2ac1ed56dc1c0dd14ad29d0d327c1075c83e524ab28284
|
|
| MD5 |
c7c6627c0e1b9b2a06938ebf0bce9ab2
|
|
| BLAKE2b-256 |
e2d1d26e880fdaba41a2fbe7d54be0ed184fd9d1ddf78266b79ed360a54c3c2a
|