ID
- The vertex ID typepublic class MatrixFactorizationModel<ID>
extends oracle.pgx.api.internal.ApiObject
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.
|
java.lang.String |
toString() |
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.InterruptedException
java.util.concurrent.ExecutionException
public 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()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.