API (Pipe)
AAanalysis exposes the same analysis through two interfaces:
import aaanalysis as aa # explicit interface (the building blocks)
import aaanalysis.pipe as aap # implicit interface (the golden pipelines)
The building blocks (aa) are the explicit objects and functions you
compose for full control over every step. The golden pipelines (aap) chain the
standard load to CPP to model to explain to plot workflow into a
single call, much as pyplot sits over Matplotlib’s Axes and Figure. They are
stateless wrappers whose defaults match the explicit path, and they live in their own
module under a separate alias (import aaanalysis.pipe as aap). Reach for aa when
you want control over each step, and aap when you want a sensible default workflow in
one call.
Each pipeline below documents its inputs, outputs, and the building blocks it composes:
|
Obtain a balanced training set from a described sampling situation in one call. |
|
Identify discriminating features in one call via a staged, interpretable CPP AutoML search. |
|
Train and compare predictors across feature sets and models in one call. |
|
Decompose a |
|
Explain a feature set in one call: compute per-sample SHAP impact and draw the SHAP feature map. |