Skip to main content
Solved

Hosting pickle file in CDF

  • 11 September 2024
  • 1 reply
  • 23 views

Hello,

Is it possible to host a pickle file (which contains a ML model) in CDF and use it to make predictions for the available data in the platform?

If yes, what are the steps ? I browsed the documentation but I haven’t found anything relevant

Best answer by JonHaslanger

Hello,

A pickle file can be uploaded to CDF as a standard “file” type of data.   Then you can call the file via the API from your python code as a bytestream using the client.files.download_bytes(id=<fileID>)

Regards

-Jon

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+1
  • Practitioner
  • 1 reply
  • Answer
  • September 13, 2024

Hello,

A pickle file can be uploaded to CDF as a standard “file” type of data.   Then you can call the file via the API from your python code as a bytestream using the client.files.download_bytes(id=<fileID>)

Regards

-Jon


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings