cancel
Showing results for 
Search instead for 
Did you mean: 

Accuracy automation

Kameliya
Image Sensor

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
2 Replies

Thanks!

0 Kudos
belen.sanchez
Data Scientist
Data Scientist

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)