1. a set of users 2. a set of actions 3. timestamped events of directing users to actions
How can I model the graph such that I can find patterns with time-ordering? For example, find/count all the users that did action A after action B, or find the most popular ordered path between action A and action E.
On Wed, Oct 10, 2012 at 10:59 AM, Paul Lam <paul....@forward.co.uk> wrote:
> Say I have
> a set of users
> a set of actions
> timestamped events of directing users to actions
> How can I model the graph such that I can find patterns with time-ordering?
> For example, find/count all the users that did action A after action B, or
> find the most popular ordered path between action A and action E.
Where you have users performing actions, where you insert a middle node for
each action which points to the action as well as the next action in line.
The user node has a relationship to the last middle node where new actions
gets appended. Such a middle node could have a time stamp also.
2012/10/10 Lasse Westh-Nielsen <lasse.westh-niel...@neopersistence.com>
> On Wed, Oct 10, 2012 at 10:59 AM, Paul Lam <paul....@forward.co.uk> wrote:
> > Say I have
> > a set of users
> > a set of actions
> > timestamped events of directing users to actions
> > How can I model the graph such that I can find patterns with
> time-ordering?
> > For example, find/count all the users that did action A after action B,
> or
> > find the most popular ordered path between action A and action E.
> Where you have users performing actions, where you insert a middle node for each action which points to the action as well as the next action in line. The user node has a relationship to the last middle node where new actions gets appended. Such a middle node could have a time stamp also.
> 2012/10/10 Lasse Westh-Nielsen <lasse.westh-niel...@neopersistence.com>
> Paul,
> On Wed, Oct 10, 2012 at 10:59 AM, Paul Lam <paul....@forward.co.uk> wrote:
> > Say I have
> > a set of users
> > a set of actions
> > timestamped events of directing users to actions
> > How can I model the graph such that I can find patterns with time-ordering?
> > For example, find/count all the users that did action A after action B, or
> > find the most popular ordered path between action A and action E.
There used to be a good time series graph doc somewhere too yes?
***********************************
Technoracle Advanced Systems Inc.
Consulting and Contracting; Proven Results!
i. Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
b. http://technoracle.blogspot.com t. @duanechaos
"Don't fear the Graph! Embrace Neo4J"
From: Michael Hunger <michael.hun...@neotechnology.com>
Reply-To: <neo4j@googlegroups.com>
Date: Wednesday, 10 October, 2012 2:47 PM
To: <neo4j@googlegroups.com>
Subject: Re: [Neo4j] how to model sequence of events?
Yep a secondary graph structure of a linked list is usually what you use for
this.
> Where you have users performing actions, where you insert a middle node for
> each action which points to the action as well as the next action in line. The
> user node has a relationship to the last middle node where new actions gets
> appended. Such a middle node could have a time stamp also.
> 2012/10/10 Lasse Westh-Nielsen <lasse.westh-niel...@neopersistence.com>
>> Paul,
>> On Wed, Oct 10, 2012 at 10:59 AM, Paul Lam <paul....@forward.co.uk> wrote:
>>> > Say I have
>>> > a set of users
>>> > a set of actions
>>> > timestamped events of directing users to actions
>>> > How can I model the graph such that I can find patterns with
>>> time-ordering?
>>> > For example, find/count all the users that did action A after action B, or
>>> > find the most popular ordered path between action A and action E.
<du...@technoracle-systems.com> wrote:
> There used to be a good time series graph doc somewhere too yes?
> ***********************************
> Technoracle Advanced Systems Inc.
> Consulting and Contracting; Proven Results!
> i. Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
> b. http://technoracle.blogspot.com > t. @duanechaos
> "Don't fear the Graph! Embrace Neo4J"
> From: Michael Hunger <michael.hun...@neotechnology.com>
> Reply-To: <neo4j@googlegroups.com>
> Date: Wednesday, 10 October, 2012 2:47 PM
> To: <neo4j@googlegroups.com>
> Subject: Re: [Neo4j] how to model sequence of events?
> Yep a secondary graph structure of a linked list is usually what you use for
> this.
> Where you have users performing actions, where you insert a middle node for
> each action which points to the action as well as the next action in line.
> The user node has a relationship to the last middle node where new actions
> gets appended. Such a middle node could have a time stamp also.
> 2012/10/10 Lasse Westh-Nielsen <lasse.westh-niel...@neopersistence.com>
>> On Wed, Oct 10, 2012 at 10:59 AM, Paul Lam <paul....@forward.co.uk> wrote:
>> > Say I have
>> > a set of users
>> > a set of actions
>> > timestamped events of directing users to actions
>> > How can I model the graph such that I can find patterns with
>> > time-ordering?
>> > For example, find/count all the users that did action A after action B,
>> > or
>> > find the most popular ordered path between action A and action E.