Hi,
I have a deployment for which I want to calculate accuracy on a daily basis. Currently I have to manually upload the dataset with actuals every day. Is there a way to automate this process e.g. to set up the deployment to read from a table in the database containing the new actuals?
Thanks!
Solved! Go to Solution.
Thanks!
Hi Kameliya . You can leverage our API to automate this.
Here is an example of how to use python API to bring your actuals. You could take this as a starting point.
deployment_id = 'YOUR_DEPLOYMENT_ID' actuals = pd.read_csv('.path_to_file/file.csv') deployment = dr.Deployment.get(deployment_id=deployment_id) deployment.submit_actuals(actuals)