ID - The vertex ID type
public class MatrixFactorizationModel<ID>
extends java.lang.Object
Analyst.matrixFactorizationGradientDescentAsync(BipartiteGraph, EdgeProperty, double, double, double, int, int)| Modifier and Type | Method and Description |
|---|---|
VertexProperty<ID,java.lang.Double> |
getEstimatedRatings(PgxVertex<ID> estimateRatingsFor)
Blocking version of
getEstimatedRatingsAsync(PgxVertex) |
PgxFuture<VertexProperty<ID,java.lang.Double>> |
getEstimatedRatingsAsync(PgxVertex<ID> estimateRatingsFor)
Computes estimated ratings for a specific vertex.
|
VertexProperty<ID,PgxVect<java.lang.Double>> |
getFeatures()
Gets the features of this model.
|
double |
getRootMeanSquareError()
Gets the computed root mean square error value.
|
public VertexProperty<ID,java.lang.Double> getEstimatedRatings(PgxVertex<ID> estimateRatingsFor) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
getEstimatedRatingsAsync(PgxVertex)estimateRatingsFor - The vertex to get estimated ratings forjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic PgxFuture<VertexProperty<ID,java.lang.Double>> getEstimatedRatingsAsync(PgxVertex<ID> estimateRatingsFor)
estimateRatingsFor - The vertex to get estimated ratings forpublic VertexProperty<ID,PgxVect<java.lang.Double>> getFeatures()
public double getRootMeanSquareError()
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.