|
Java example source code file (GraphVectorLookupTable.java)
The GraphVectorLookupTable.java Java example source codepackage org.deeplearning4j.graph.models.embeddings; import org.nd4j.linalg.api.ndarray.INDArray; /**Lookup table for vector representations of the vertices in a graph */ public interface GraphVectorLookupTable { /**The size of the vector representations */ int vectorSize(); /** Reset (randomize) the weights. */ void resetWeights(); /** Conduct learning given a pair of vertices (in and out) */ void iterate(int first, int second); /** Get the vector for the vertex with index idx */ public INDArray getVector(int idx); /** Set the learning rate */ void setLearningRate(double learningRate); /** Returns the number of vertices in the graph */ int getNumVertices(); } Other Java examples (source code examples)Here is a short list of links related to this Java GraphVectorLookupTable.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.