kasaai / quests

Adventures in research at the intersection of insurance and AI
https://quests.kasa.ai
10 stars 3 forks source link

Model deployment #15

Closed kevinykuo closed 5 years ago

kevinykuo commented 5 years ago

This is meant to be pretty general but let's take an underwriting model for a personal auto carrier as an example. The starting point is a trained u/w score model and decision rules on whether to accept/deny/defer to human an auto insurance application. We want to expose this model as a service so apps/websites can hit it.

This is impactful/important because we need to demystify the operationalization process, and data scientists (incl. actuaries) should be familiar with the entire stack even if their day-to-day isn't orchestrating containers.

Initial assumptions/requirements

Results

EKtheSage commented 5 years ago

Do we need to include the python's deployment framework? My colleague at work likes to talk about how easy it is to use flask to deploy model. Personal;y I am fine either way, as long as we can integrate our model with the IT team smoothly.

Blog posts about using docker and R to deploy models have been showing up more recently:

kevinykuo commented 5 years ago

Yeah we can include an example with flask, although there are probably fewer use cases where flask would be used (I can't think of a good example outside of serving pickled scikit-learn models.)

kevinykuo commented 5 years ago

https://quests.kasa.ai/model-deployment/