kasaai / pc-pricing-tutorial

Practical Ratemaking
https://ratemake.com/
Other
34 stars 8 forks source link

Toy ML model for deployment example #106

Closed kevinykuo closed 5 years ago

kevinykuo commented 5 years ago

This PR adds uw.R which creates a toy ML model and deployable artifacts.

@chatty1406 The files produced by this script should be enough to get a prediction service going.

kevinykuo commented 5 years ago

Binaries at https://github.com/kasaai/pc-pricing-tutorial/releases/download/v0.0.1/model_artifacts.tar.gz

If TF complains about the saved model, try with the latest 2.0 preview i.e. https://pypi.org/project/tf-nightly-2.0-preview/