predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Rabenarivo <mariusrabenar...@gmail.com>
Subject Re: Are event's properties overwritten by new properties?
Date Mon, 29 May 2017 04:59:39 GMT
Ah Ok. Thanks

It's good to know for categorical properties but for the moment I use
properties for biasing and filtering.


2017-05-28 19:33 GMT+04:00 Pat Ferrel <pat@occamsmachete.com>:

> If the item id is the same, they are both attached to the same item and
> will be aggregated.
>
> But they should be arrays of strings for the UR template.
>
> All templates define their own way of interpreting input and this is
> required by the UR for categorical properties.
>
>
> On May 27, 2017, at 4:57 AM, Marius Rabenarivo <mariusrabenarivo@gmail.com>
> wrote:
>
> Sorry, it was a confusion from my part.
>
> The 2 events are there.
>
> I was thinking that the properties will be aggregated in the event server.
>
> 2017-05-26 19:47 GMT+04:00 Pat Ferrel <pat@occamsmachete.com>:
>
>> No but if you are using the UR (I’m guessing from the lists you posted
>> on) you would encode those as arrays with only one value.
>>
>> Can you share the entire 2 $set events json?
>>
>>
>> On May 26, 2017, at 4:25 AM, Marius Rabenarivo <
>> mariusrabenarivo@gmail.com> wrote:
>>
>> Hello everyone,
>>
>> When sending new $set properties event,
>>
>> It seems like the previous properties are overwritten.
>>
>> For example
>>
>> if I send properties : {a : "a"}
>> and then properties : {b: "b"}
>>
>> then when requesting the event server, I get only {b: "b"}
>>
>> Is this normal?
>>
>> Regards,
>>
>> Marius
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "actionml-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to actionml-user+unsubscribe@googlegroups.com.
>> To post to this group, send email to actionml-user@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.
>> com/d/msgid/actionml-user/CAC-ATVHz1RFN%2B8ixuZb5Q4Wdqt5rJ2G
>> 0u8wO8eUdVmKT6K%2Bt6w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/actionml-user/CAC-ATVHz1RFN%2B8ixuZb5Q4Wdqt5rJ2G0u8wO8eUdVmKT6K%2Bt6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "actionml-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to actionml-user+unsubscribe@googlegroups.com.
> To post to this group, send email to actionml-user@googlegroups.com.
> To view this discussion on the web visit https://groups.google.
> com/d/msgid/actionml-user/CAC-ATVFn5ZR%2BqP_J-
> T1Ak4FXYtYFdqHwSRfPSXdCAQwQLVetyg%40mail.gmail.com
> <https://groups.google.com/d/msgid/actionml-user/CAC-ATVFn5ZR%2BqP_J-T1Ak4FXYtYFdqHwSRfPSXdCAQwQLVetyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

Mime
View raw message