Re: Regarding Real-Time Prediction

2018-06-14 Thread KRISH MEHTA
When I am training the model for the Recommendation it isn’t Able to predict 
it. I think its not pointing to the newly trained model. Here I have to delay 
it again and again. Can you tell me what should have been the problem?

Regards,
Krish 

> On Jun 11, 2018, at 9:38 AM, Digambar Bhat  wrote:
> 
> You don't need to deploy same engine again and again. You just deploy once 
> and train whenever you want. Deployed instance will automatically point to 
> newly trained model as hot swap happens. 
> 
> Regards,
> Digambar
> 
> On Mon 11 Jun, 2018, 10:02 PM KRISH MEHTA,  > wrote:
> Hi,
> I have just started using PredictionIO and according to the documentation I 
> have to always run the Train and Deploy Command to get the prediction. I am 
> working on predicting videos for recommendation and I want to know if there 
> is any other way possible so that I can predict the results on the Fly with 
> no Downtime.
> 
> Please help me with the same. 
> 
> Yours Sincerely,
> Krish



Re: Regarding Real-Time Prediction

2018-06-11 Thread Digambar Bhat
Yes. I forgot to mention.

On Tue, Jun 12, 2018 at 2:06 AM Donald Szeto  wrote:

> On Mon, Jun 11, 2018 at 9:38 AM Digambar Bhat 
> wrote:
>
>> You don't need to deploy same engine again and again. You just deploy
>> once and train whenever you want. Deployed instance will automatically
>> point to newly trained model as hot swap happens.
>>
>
> To clarify, this happens with certain templates only. PredictionIO itself
> does not yet support automatic model hot-swapping.
>


-- 
*Digambar Bhat*


Re: Regarding Real-Time Prediction

2018-06-11 Thread Donald Szeto
On Mon, Jun 11, 2018 at 9:38 AM Digambar Bhat 
wrote:

> You don't need to deploy same engine again and again. You just deploy once
> and train whenever you want. Deployed instance will automatically point to
> newly trained model as hot swap happens.
>

To clarify, this happens with certain templates only. PredictionIO itself
does not yet support automatic model hot-swapping.


Re: Regarding Real-Time Prediction

2018-06-11 Thread Pat Ferrel
Actually if you are using the Universal Recommender you only need to deploy 
once as long as the engine.json does not change. The hot swap happens as 
@Digambar says and there is literally no downtime. If you are using any of the 
other recommenders you do have to re-deploy after every train but the deploy 
happens very quickly, a ms or 2 as I recall.


From: Digambar Bhat 
Reply: user@predictionio.apache.org 
Date: June 11, 2018 at 9:38:15 AM
To: user@predictionio.apache.org 
Subject:  Re: Regarding Real-Time Prediction  

You don't need to deploy same engine again and again. You just deploy once and 
train whenever you want. Deployed instance will automatically point to newly 
trained model as hot swap happens. 

Regards,
Digambar

On Mon 11 Jun, 2018, 10:02 PM KRISH MEHTA,  wrote:
Hi,
I have just started using PredictionIO and according to the documentation I 
have to always run the Train and Deploy Command to get the prediction. I am 
working on predicting videos for recommendation and I want to know if there is 
any other way possible so that I can predict the results on the Fly with no 
Downtime.

Please help me with the same.

Yours Sincerely,
Krish

Re: Regarding Real-Time Prediction

2018-06-11 Thread Digambar Bhat
You don't need to deploy same engine again and again. You just deploy once
and train whenever you want. Deployed instance will automatically point to
newly trained model as hot swap happens.

Regards,
Digambar

On Mon 11 Jun, 2018, 10:02 PM KRISH MEHTA,  wrote:

> Hi,
> I have just started using PredictionIO and according to the documentation
> I have to always run the Train and Deploy Command to get the prediction. I
> am working on predicting videos for recommendation and I want to know if
> there is any other way possible so that I can predict the results on the
> Fly with no Downtime.
>
> Please help me with the same.
>
> Yours Sincerely,
> Krish