[
https://issues.apache.org/jira/browse/TINKERPOP-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216088#comment-15216088
]
Marko A. Rodriguez commented on TINKERPOP-1234:
-----------------------------------------------
Great. Glad it worked out. I noticed one thing I want to fix -- the
{{toString()}} of {{ProgramVertexProgramStep}} so that is {{toString()}} the
{{VertexProgram}}.
In terms of putting {{CollaborativeFilteringVertexProgram}} into TinkerPop, I
don't think we should. I think we should get {{Mutating}}-steps to work and
then its just a natural, simple Gremlin query.
I'll put this up for PR.
> 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
> Assignee: Marko A. Rodriguez
>
> 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)