Hi Noelia,
You don’t have to build project every time after train, just once. 
Train will save ES index with model and move alias specified in engine.json so 
deploy can work simultaneously.
Dont forget to run `pio train` in the same dir where you do `pio deploy`, the 
same `pwd` is necessary to swap the same alias

> 4 дек. 2017 г., в 12:36, Noelia Osés Fernández <[email protected]> 
> написал(а):
> 
> Hi all,
> 
> I have created an app using ActionML's UR and Prediction IO trained with some 
> initial data.
> 
> Now, as users interact with the ecomm website, I will have more data to train 
> the app. Once a week I will take all the new data from the last week and 
> retrain the app.
> 
> Which is the correct way to keep the app update?
> 
> 1- pio build; pio train; pio deploy
> 
> or
> 
> 2- pio train; pio deploy
> 
> Thank you very much for your help!
> 
> I don't really know what "pio build" does so I don't know if I have to re-do 
> it every time.
> 
> Best regards,
> Noelia
> 

Reply via email to