cancel
Showing results for 
Search instead for 
Did you mean: 

Accuracy automation

Accuracy automation

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!

Labels (2)
0 Kudos
1 Solution

Accepted Solutions

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)

 

View solution in original post

2 Replies

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)

 

Thanks!

0 Kudos