| Package | Description |
|---|---|
| oracle.pgx.api |
This package contains the main Java APIs.
|
| Modifier and Type | Method and Description |
|---|---|
BipartiteGraph |
PgxGraph.bipartiteSubGraphFromLeftSet(java.util.Collection<VertexProperty<?,?>> vertexProps, java.util.Collection<EdgeProperty<?>> edgeProps, VertexSet<?> vertexSet, java.lang.String newGraphName)
|
BipartiteGraph |
PgxGraph.bipartiteSubGraphFromLeftSet(java.util.Collection<VertexProperty<?,?>> vertexProps, java.util.Collection<EdgeProperty<?>> edgeProps, VertexSet<?> vertexSet, java.lang.String newGraphName, java.lang.String isLeftPropName)
|
BipartiteGraph |
PgxGraph.bipartiteSubGraphFromLeftSet(VertexSet<?> vertexSet)
Blocking version of
PgxGraph.bipartiteSubGraphFromLeftSetAsync(VertexSet). |
BipartiteGraph |
PgxGraph.bipartiteSubGraphFromLeftSet(VertexSet<?> vertexSet, java.lang.String newGraphName)
Blocking version of
PgxGraph.bipartiteSubGraphFromLeftSetAsync(VertexSet, String). |
| Modifier and Type | Method and Description |
|---|---|
PgxFuture<BipartiteGraph> |
PgxGraph.bipartiteSubGraphFromLeftSetAsync(java.util.Collection<VertexProperty<?,?>> vertexProps, java.util.Collection<EdgeProperty<?>> edgeProps, VertexSet<?> vertexSet, java.lang.String newGraphName)
Create a bipartite version of this graph.
|
PgxFuture<BipartiteGraph> |
PgxGraph.bipartiteSubGraphFromLeftSetAsync(java.util.Collection<VertexProperty<?,?>> vertexProps, java.util.Collection<EdgeProperty<?>> edgeProps, VertexSet<?> vertexSet, java.lang.String newGraphName, java.lang.String isLeftPropName) |
PgxFuture<BipartiteGraph> |
PgxGraph.bipartiteSubGraphFromLeftSetAsync(VertexSet<?> vertexSet)
Create a bipartite version of this graph.
|
PgxFuture<BipartiteGraph> |
PgxGraph.bipartiteSubGraphFromLeftSetAsync(VertexSet<?> vertexSet, java.lang.String newGraphName)
Create a bipartite version of this graph.
|
| Modifier and Type | Method and Description |
|---|---|
<ID> MatrixFactorizationModel<ID> |
Analyst.matrixFactorizationGradientDescent(BipartiteGraph graph, EdgeProperty<java.lang.Double> weightProperty)
Blocking version of
Analyst.matrixFactorizationGradientDescentAsync(BipartiteGraph, EdgeProperty). |
<ID> MatrixFactorizationModel<ID> |
Analyst.matrixFactorizationGradientDescent(BipartiteGraph graph, EdgeProperty<java.lang.Double> weightProperty, double learningRate, double changePerStep, double lambda, int maxStep, int vectorLength)
|
<ID> PgxFuture<MatrixFactorizationModel<ID>> |
Analyst.matrixFactorizationGradientDescentAsync(BipartiteGraph graph, EdgeProperty<java.lang.Double> weightProperty)
Performs the training step of generating recommendations using matrix factorization.
|
<ID> PgxFuture<MatrixFactorizationModel<ID>> |
Analyst.matrixFactorizationGradientDescentAsync(BipartiteGraph graph, EdgeProperty<java.lang.Double> weightProperty, double learningRate, double changePerStep, double lambda, int maxStep, int vectorLength)
Performs the training step of generating recommendations using matrix factorization.
|
<ID> VertexProperty<ID,java.lang.Double> |
Analyst.personalizedSalsa(BipartiteGraph graph, PgxVertex<ID> v, double d, int maxIterations, double maxDiff)
Blocking version of
Analyst.personalizedSalsaAsync(BipartiteGraph, PgxVertex, double, int, double). |
<ID> VertexProperty<ID,java.lang.Double> |
Analyst.personalizedSalsa(BipartiteGraph graph, VertexSet<ID> vertices, double d, int maxIterations, double maxDiff)
Blocking version of
Analyst.personalizedSalsaAsync(BipartiteGraph, VertexSet, double, int, double). |
<ID> PgxFuture<VertexProperty<ID,java.lang.Double>> |
Analyst.personalizedSalsaAsync(BipartiteGraph graph, PgxVertex<ID> v, double d, int maxIterations, double maxDiff)
Personalized SALSA computes recommendations ith respect to a given vertex v.
|
<ID> PgxFuture<VertexProperty<ID,java.lang.Double>> |
Analyst.personalizedSalsaAsync(BipartiteGraph graph, VertexSet<ID> vertices, double d, int maxIterations, double maxDiff)
Personalized SALSA computes recommendations ith respect to a given set of vertices.
|
<ID> PgxFuture<VertexProperty<ID,java.lang.Double>> |
Analyst.salsa(BipartiteGraph graph, double maxDiff, int maxIter)
Blocking version of
Analyst.salsaAsync(BipartiteGraph, double, int). |
<ID> Pair<VertexSequence<ID>,VertexSequence<ID>> |
Analyst.salsa(BipartiteGraph graph, int k)
Blocking version of
Analyst.salsaAsync(BipartiteGraph, int). |
<ID> Pair<VertexSequence<ID>,VertexSequence<ID>> |
Analyst.salsa(BipartiteGraph graph, int k, double maxDiff, double d, int maxIter)
Blocking version of
Analyst.salsaAsync(BipartiteGraph, int, double, double, int). |
<ID> PgxFuture<VertexProperty<ID,java.lang.Double>> |
Analyst.salsaAsync(BipartiteGraph graph, double maxDiff, int maxIter) |
<ID> PgxFuture<Pair<VertexSequence<ID>,VertexSequence<ID>>> |
Analyst.salsaAsync(BipartiteGraph graph, int k)
Convenience method around
Analyst.salsaAsync(BipartiteGraph, int, double, double, int) using
maxDiff = 0.01 d = 0.85 maxIter = 1000 |
<ID> PgxFuture<Pair<VertexSequence<ID>,VertexSequence<ID>>> |
Analyst.salsaAsync(BipartiteGraph graph, int k, double maxDiff, double d, int maxIter)
SALSA recommendation algorithm.
|
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.