Python API¶
Create a model with mathai.core.registry.make_model(name) or instantiate
an architecture class with its configuration. Models expose fit,
predict, evaluate, update, fine_tune, explain, inspect, save
and load. Classification models also expose predict_scores and
decision_function; these are evidence scores, not calibrated
probabilities. See src/mathai/core/base.py and the architecture modules
for method details.
Load checkpoints only from trusted sources because they use pickle.