Logging to Aporia directly
Get Started
pip3 install aporia --upgradeimport aporia
aporia.init(token="<TOKEN>",
environment="<ENVIRONMENT>", # e.g "production"
verbose=True,
raise_errors=True)Create Model
aporia.create_model("<MODEL_ID>", "<MODEL_NAME>")aporia.create_model(
model_id="fraud-detection",
model_name="Fraud Detection",
color=ModelColor.ARCTIC_BLUE,
icon=ModelIcon.FRAUD_DETECTION,
tags={
"framework": "xgboost",
"coolness_level": 10
},
owner="fred@aporia.com", # Integrates with your enterprise auth system ;)
)Create Model Version
Field Types
Get a reference to an existing version
Logging Training / Test Sets
Logging Serving Data
Log Predictions
Raw Inputs
Actuals
Batching
Logging Pandas DataFrame / Series
Asynchronous logging
Troubleshooting
Pyspark
Last updated