Setting up continuous monitoring
# Find the previous model in NannyML Cloud by name
model, = nml_sdk.monitoring.Model.list(name='Example model')
# Add new inferences to NannyML Cloud
new_inferences = pd.DataFrame()
nml_sdk.monitoring.Model.add_analysis_data(model['id'], new_inferences)
# Trigger analysis of the new data
nml_sdk.monitoring.Run.trigger(model['id'])

Last updated