[ 
https://issues.apache.org/jira/browse/TINKERPOP-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15210571#comment-15210571
 ] 

Marko A. Rodriguez commented on TINKERPOP-1234:
-----------------------------------------------

[~dkuppitz] Please see branch 
https://github.com/apache/incubator-tinkerpop/tree/TINKERPOP-1234. If you could 
test your {{CollaborativeFilterVertexProgram}} using the new 
{{program()}}-step, that would give me more confidence that it is flexible 
enough for what users will want to do with it. Please report back your thoughts 
on the matter.

> program() step that takes arbitrary vertex programs
> ---------------------------------------------------
>
>                 Key: TINKERPOP-1234
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1234
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.0-incubating
>            Reporter: Daniel Kuppitz
>
> In 3.2 VertexPrograms like {{PageRankVertexProgram}} will have a dedicated 
> step that allows to do things like {{g.V().out().out().pageRank()}}. Would be 
> nice to have a general step {{program()}}, so that we can do the same thing 
> with any {{VertexProgam}}, e.g.
> {code}
> // pre-calculate "users who bought this, also bought" and create uwbt-edges 
> for the top 100 results per vertex
> g.V().as("a").in("bought").out("bought").where(neq("a")).as("b").select("a","b").
>   
> program(CollaborativeFilterVertexProgram.build().source("a").target("b").limit(100).edgeLabel("uwbt").weightProperty("weight").create())
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to