5 ms·
We have a number of batch jobs that updates the models every night then a separate api to serve the main app that draws de ui. Sometimes your ml model doesn't
by chudi 9y ago
We have a number of batch jobs that updates the models every night then a separate api to serve the main app that draws de ui.
Sometimes your ml model doesn't need a cronjob and you can update your results near real-time, but the principle still holds, an API separate from the main app.
- ganeshkrishnan 9y agoWe have almost the same architecture. The web reloads it's ml model if it detects the file is new and valid Additionally some 'static predictions' are written back to db by the training machine.
- wuliwong 9y agoThis seems to be what I'm hearing over and over and luckily it is pretty close to how I assumed it would work. I think I am going to build an API inside my rails app which the python then uses to access data and update parameters. I have a lot of work as far as designing the models themselves but the overall software architecture now makes some sense to me. Thanks.