What does fit do when calculating realized performance?
#336
-
|
Hi, Thanks for all of your work on Nannyml! We want to use nannyml to write realized performance data into a SQL database, and then use Grafana to plot these metrics over time. My question is is there any way to use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @shezadkhan137! When using the
Regarding your question about using You only need to call I'll let you here a tutorial on how to store and load calculators I hope this helps :) Let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.

Hi @shezadkhan137!
When using the
PerformanceCalculatormethod, the purpose of thefitfunction is to create the baseline that represents the realized performance on the reference set. This is where nannyML calculates the thresholds that can later be useful in determining whether there has been degradation on the analysis set, like in the image below.Regarding your question about using
PerformanceCalculatorwith out callingfitfirst, actually yes, you can.You only need to call
fitwhen the reference data changes. So, if your reference data hasn't change, you can call fit only once, persist the fitted calculator (we currently support multiple ways to persist calculator objects), and th…