CartoDB / crankshaft

CARTO Spatial Analysis extension for PostgreSQL
BSD 3-Clause "New" or "Revised" License
54 stars 20 forks source link

[prototype] Model storage #206

Open andy-esch opened 6 years ago

andy-esch commented 6 years ago

Model Storage

This is a prototype for storing models that can be re-used later without the need for re-training. It currently only works with scikit-learn models.

  1. Model table is created if it does not exist
  2. If a model is specified, there is a database lookup to see if it exists. a. If it exists, it is loaded and used b. If it does not exist, the model will be created and later stored
  3. The model is used in the calculation
  4. If the model hasn't already been stored, it is stored according to a specified name (optional), or an automatically suggested name, along with metadata about the model.

ToDo

Future enhancements

References