A B C D E F G H I L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addEdge(int, int, E, boolean) - Method in class org.deeplearning4j.graph.api.BaseGraph
- addEdge(int, int, E, boolean) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Convenience method for adding an edge (directed or undirected) to graph
- addEdge(Edge<E>) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Add an edge to the graph.
- addEdge(Edge<E>) - Method in class org.deeplearning4j.graph.Graph
B
- BaseGraph<V,E> - Class in org.deeplearning4j.graph.api
- BaseGraph() - Constructor for class org.deeplearning4j.graph.api.BaseGraph
- BinaryTree - Interface in org.deeplearning4j.graph.models
- build() - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk.Builder
- Builder() - Constructor for class org.deeplearning4j.graph.models.deepwalk.DeepWalk.Builder
- buildTree(int[]) - Method in class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
-
Build the Huffman tree given an array of vertex degrees
C
- calculateProb(int, int) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
-
Calculate the probability of the second vertex given the first vertex i.e., P(v_second | v_first)
- calculateScore(int, int) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
-
Calculate score.
- create(int) - Method in class org.deeplearning4j.graph.vertexfactory.IntegerVertexFactory
- create(int) - Method in class org.deeplearning4j.graph.vertexfactory.StringVertexFactory
- create(int) - Method in interface org.deeplearning4j.graph.vertexfactory.VertexFactory
- create(int) - Method in class org.deeplearning4j.graph.vertexfactory.VoidVertexFactory
D
- DeepWalk<V,E> - Class in org.deeplearning4j.graph.models.deepwalk
- DeepWalk() - Constructor for class org.deeplearning4j.graph.models.deepwalk.DeepWalk
- DeepWalk.Builder<V,E> - Class in org.deeplearning4j.graph.models.deepwalk
- DelimitedEdgeLineProcessor - Class in org.deeplearning4j.graph.data.impl
- DelimitedEdgeLineProcessor(String, boolean) - Constructor for class org.deeplearning4j.graph.data.impl.DelimitedEdgeLineProcessor
- DelimitedEdgeLineProcessor(String, boolean, String...) - Constructor for class org.deeplearning4j.graph.data.impl.DelimitedEdgeLineProcessor
- DelimitedVertexLoader - Class in org.deeplearning4j.graph.data.impl
-
Load vertex information, one per line of form "0
Some text attribute/label" - DelimitedVertexLoader(String) - Constructor for class org.deeplearning4j.graph.data.impl.DelimitedVertexLoader
- DelimitedVertexLoader(String, String...) - Constructor for class org.deeplearning4j.graph.data.impl.DelimitedVertexLoader
E
- Edge<T> - Class in org.deeplearning4j.graph.api
- Edge(int, int, T, boolean) - Constructor for class org.deeplearning4j.graph.api.Edge
- EdgeLineProcessor<E> - Interface in org.deeplearning4j.graph.data
- equals(Object) - Method in class org.deeplearning4j.graph.api.Edge
- equals(Object) - Method in class org.deeplearning4j.graph.api.Vertex
- equals(Object) - Method in class org.deeplearning4j.graph.Graph
- EXCEPTION_ON_DISCONNECTED - org.deeplearning4j.graph.api.NoEdgeHandling
- expTable - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
F
- fit(IGraph<V, E>, int) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
-
Fit the model, in parallel.
- fit(GraphWalkIterator<V>) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
-
Fit the DeepWalk model using a single thread using a given GraphWalkIterator.
- fit(GraphWalkIteratorProvider<V>) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
-
Fit the model, in parallel, using a given GraphWalkIteratorProvider.
This object is used to generate multiple GraphWalkIterators, which can then be distributed to each thread to do in parallel
Note thatDeepWalk.fit(IGraph, int)
will be more convenient in many cases
Note thatDeepWalk.initialize(IGraph)
orDeepWalk.initialize(int[])
must be called first.
G
- getCode(int) - Method in interface org.deeplearning4j.graph.models.BinaryTree
- getCode(int) - Method in class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
- getCodeLength(int) - Method in interface org.deeplearning4j.graph.models.BinaryTree
- getCodeLength(int) - Method in class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
- getCodeString(int) - Method in interface org.deeplearning4j.graph.models.BinaryTree
- getCodeString(int) - Method in class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
- getConnectedVertexIndices(int) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Return an array of indexes of vertices that the specified vertex is connected to.
Specifically, for undirected graphs return int[] of all X.vertexID() such that (vertex -- X) exists
For directed graphs, return int[] of all X.vertexID() such that (vertex -> X) exists - getConnectedVertexIndices(int) - Method in class org.deeplearning4j.graph.Graph
- getConnectedVertices(int) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Get a list of all of the vertices that the specified vertex is connected to
Specifically, for undirected graphs return list of all X such that (vertex -- X) exists
For directed graphs, return list of all X such that (vertex -> X) exists - getConnectedVertices(int) - Method in class org.deeplearning4j.graph.Graph
- getEdgesOut(int) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Returns a list of edges for a vertex with a given index For undirected graphs, returns all edges incident on the vertex For directed graphs, only returns outward directed edges
- getEdgesOut(int) - Method in class org.deeplearning4j.graph.Graph
- getGraph() - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- getGraph() - Method in interface org.deeplearning4j.graph.models.GraphVectors
- getGraphWalkIterators(int) - Method in interface org.deeplearning4j.graph.iterator.parallel.GraphWalkIteratorProvider
-
Get a list of GraphWalkIterators.
- getGraphWalkIterators(int) - Method in class org.deeplearning4j.graph.iterator.parallel.RandomWalkGraphIteratorProvider
- getGraphWalkIterators(int) - Method in class org.deeplearning4j.graph.iterator.parallel.WeightedRandomWalkGraphIteratorProvider
- getInnerNodeVector(int) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- getLearningRate() - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
- getNumVertices() - Method in interface org.deeplearning4j.graph.models.embeddings.GraphVectorLookupTable
-
Returns the number of vertices in the graph
- getNumVertices() - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- getOutWeights() - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- getPathInnerNodes(int) - Method in interface org.deeplearning4j.graph.models.BinaryTree
- getPathInnerNodes(int) - Method in class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
- getRandomConnectedVertex(int, Random) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Randomly sample a vertex connected to a given vertex.
- getRandomConnectedVertex(int, Random) - Method in class org.deeplearning4j.graph.Graph
- getTree() - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- getValue() - Method in class org.deeplearning4j.graph.api.Vertex
- getVector(int) - Method in interface org.deeplearning4j.graph.models.embeddings.GraphVectorLookupTable
-
Get the vector for the vertex with index idx
- getVector(int) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- getVectorSize() - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
- getVectorSize() - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- getVectorSize() - Method in interface org.deeplearning4j.graph.models.GraphVectors
- getVertex(int) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Get a vertex in the graph for a given index
- getVertex(int) - Method in class org.deeplearning4j.graph.Graph
- getVertexDegree(int) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Returns the degree of the vertex.
For undirected graphs, this is just the degree.
For directed graphs, this returns the outdegree - getVertexDegree(int) - Method in class org.deeplearning4j.graph.Graph
- getVertexVector(int) - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- getVertexVector(int) - Method in interface org.deeplearning4j.graph.models.GraphVectors
- getVertexVector(Vertex<V>) - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- getVertexVector(Vertex<V>) - Method in interface org.deeplearning4j.graph.models.GraphVectors
- getVertexVectors() - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- getVertices(int[]) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Get multiple vertices in the graph
- getVertices(int[]) - Method in class org.deeplearning4j.graph.Graph
- getVertices(int, int) - Method in interface org.deeplearning4j.graph.api.IGraph
-
Get multiple vertices in the graph, with secified indices
- getVertices(int, int) - Method in class org.deeplearning4j.graph.Graph
- getWindowSize() - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
- graph - Variable in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- Graph<V,E> - Class in org.deeplearning4j.graph
- Graph(int, boolean, VertexFactory<V>) - Constructor for class org.deeplearning4j.graph.Graph
- Graph(int, VertexFactory<V>) - Constructor for class org.deeplearning4j.graph.Graph
- Graph(List<Vertex<V>>) - Constructor for class org.deeplearning4j.graph.Graph
- Graph(List<Vertex<V>>, boolean) - Constructor for class org.deeplearning4j.graph.Graph
- GraphHuffman - Class in org.deeplearning4j.graph.models.deepwalk
- GraphHuffman(int) - Constructor for class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
- GraphHuffman(int, int) - Constructor for class org.deeplearning4j.graph.models.deepwalk.GraphHuffman
- GraphLoader - Class in org.deeplearning4j.graph.data
-
Utility methods for loading graphs
- GraphVectorLookupTable - Interface in org.deeplearning4j.graph.models.embeddings
- GraphVectors<V,E> - Interface in org.deeplearning4j.graph.models
- GraphVectorSerializer - Class in org.deeplearning4j.graph.models.loader
- GraphVectorsImpl<V,E> - Class in org.deeplearning4j.graph.models.embeddings
- GraphVectorsImpl() - Constructor for class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- GraphWalkIterator<T> - Interface in org.deeplearning4j.graph.iterator
- GraphWalkIteratorProvider<V> - Interface in org.deeplearning4j.graph.iterator.parallel
H
- hashCode() - Method in class org.deeplearning4j.graph.api.Edge
- hashCode() - Method in class org.deeplearning4j.graph.api.Vertex
- hashCode() - Method in class org.deeplearning4j.graph.Graph
- hasNext() - Method in interface org.deeplearning4j.graph.iterator.GraphWalkIterator
-
Whether the iterator has any more vertex sequences.
- hasNext() - Method in class org.deeplearning4j.graph.iterator.RandomWalkIterator
- hasNext() - Method in class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
- hasNext() - Method in class org.deeplearning4j.graph.VertexSequence
I
- IGraph<V,E> - Interface in org.deeplearning4j.graph.api
- initialize(int[]) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
-
Initialize the DeepWalk model with a list of vertex degrees for a graph.
Specifically, graphVertexDegrees[i] represents the vertex degree of the ith vertex
vertex degrees are used to construct a binary (Huffman) tree, which is in turn used in the hierarchical softmax implementation - initialize(IGraph<V, E>) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
-
Initialize the DeepWalk model with a given graph.
- InMemoryGraphLookupTable - Class in org.deeplearning4j.graph.models.embeddings
- InMemoryGraphLookupTable(int, int, BinaryTree, double) - Constructor for class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- IntegerVertexFactory - Class in org.deeplearning4j.graph.vertexfactory
- IntegerVertexFactory() - Constructor for class org.deeplearning4j.graph.vertexfactory.IntegerVertexFactory
- iterate(int, int) - Method in interface org.deeplearning4j.graph.models.embeddings.GraphVectorLookupTable
-
Conduct learning given a pair of vertices (in and out)
- iterate(int, int) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- IVertexSequence<T> - Interface in org.deeplearning4j.graph.api
L
- learningRate - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- learningRate(double) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk.Builder
-
Set the learning rate
- loadGraph(String, String, VertexLoader<V>, EdgeLineProcessor<E>, boolean) - Static method in class org.deeplearning4j.graph.data.GraphLoader
-
Load graph, assuming vertices are in one file and edges are in another file.
- loadGraph(String, EdgeLineProcessor<E>, VertexFactory<V>, int, boolean) - Static method in class org.deeplearning4j.graph.data.GraphLoader
-
Load a graph into memory, using a given EdgeLineProcessor.
- loadTxtVectors(File) - Static method in class org.deeplearning4j.graph.models.loader.GraphVectorSerializer
- loadUndirectedGraphEdgeListFile(String, int, String) - Static method in class org.deeplearning4j.graph.data.GraphLoader
-
Simple method for loading an undirected graph, where the graph is represented by a edge list with one edge per line with a delimiter in between
This method assumes that all lines in the file are of the formi<delim>j
where i and j are integers in range 0 to numVertices inclusive, and "" is the user-provided delimiter Note: this method calls GraphLoader.loadUndirectedGraphEdgeListFile(String, int, String, boolean)
with allowMultipleEdges = true. - loadUndirectedGraphEdgeListFile(String, int, String, boolean) - Static method in class org.deeplearning4j.graph.data.GraphLoader
-
Simple method for loading an undirected graph, where the graph is represented by a edge list with one edge per line with a delimiter in between
This method assumes that all lines in the file are of the formi<delim>j
where i and j are integers in range 0 to numVertices inclusive, and "" is the user-provided delimiter - loadVertices(String) - Method in class org.deeplearning4j.graph.data.impl.DelimitedVertexLoader
- loadVertices(String) - Method in interface org.deeplearning4j.graph.data.VertexLoader
- loadWeightedEdgeListFile(String, int, String, boolean, boolean, String...) - Static method in class org.deeplearning4j.graph.data.GraphLoader
-
Method for loading a weighted graph from an edge list file, where each edge (inc.
- loadWeightedEdgeListFile(String, int, String, boolean, String...) - Static method in class org.deeplearning4j.graph.data.GraphLoader
-
Method for loading a weighted graph from an edge list file, where each edge (inc.
- lookupTable - Variable in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- lookupTable() - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
M
- MAX_EXP - Static variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
N
- next() - Method in interface org.deeplearning4j.graph.iterator.GraphWalkIterator
-
Get the next vertex sequence.
- next() - Method in class org.deeplearning4j.graph.iterator.RandomWalkIterator
- next() - Method in class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
- next() - Method in class org.deeplearning4j.graph.VertexSequence
- NoEdgeHandling - Enum in org.deeplearning4j.graph.api
- NoEdgesException - Exception in org.deeplearning4j.graph.exception
- NoEdgesException() - Constructor for exception org.deeplearning4j.graph.exception.NoEdgesException
- NoEdgesException(String) - Constructor for exception org.deeplearning4j.graph.exception.NoEdgesException
- NoEdgesException(String, Exception) - Constructor for exception org.deeplearning4j.graph.exception.NoEdgesException
- numVertices() - Method in interface org.deeplearning4j.graph.api.IGraph
-
Number of vertices in the graph
- numVertices() - Method in class org.deeplearning4j.graph.Graph
- numVertices() - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- numVertices() - Method in interface org.deeplearning4j.graph.models.GraphVectors
- nVertices - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
O
- org.deeplearning4j.graph - package org.deeplearning4j.graph
- org.deeplearning4j.graph.api - package org.deeplearning4j.graph.api
- org.deeplearning4j.graph.data - package org.deeplearning4j.graph.data
- org.deeplearning4j.graph.data.impl - package org.deeplearning4j.graph.data.impl
- org.deeplearning4j.graph.exception - package org.deeplearning4j.graph.exception
- org.deeplearning4j.graph.iterator - package org.deeplearning4j.graph.iterator
- org.deeplearning4j.graph.iterator.parallel - package org.deeplearning4j.graph.iterator.parallel
- org.deeplearning4j.graph.models - package org.deeplearning4j.graph.models
- org.deeplearning4j.graph.models.deepwalk - package org.deeplearning4j.graph.models.deepwalk
- org.deeplearning4j.graph.models.embeddings - package org.deeplearning4j.graph.models.embeddings
- org.deeplearning4j.graph.models.loader - package org.deeplearning4j.graph.models.loader
- org.deeplearning4j.graph.vertexfactory - package org.deeplearning4j.graph.vertexfactory
- outWeights - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
P
- ParseException - Exception in org.deeplearning4j.graph.exception
- ParseException() - Constructor for exception org.deeplearning4j.graph.exception.ParseException
- ParseException(String) - Constructor for exception org.deeplearning4j.graph.exception.ParseException
- ParseException(String, Exception) - Constructor for exception org.deeplearning4j.graph.exception.ParseException
- processLine(String) - Method in interface org.deeplearning4j.graph.data.EdgeLineProcessor
-
Process a line of text into an edge.
- processLine(String) - Method in class org.deeplearning4j.graph.data.impl.DelimitedEdgeLineProcessor
- processLine(String) - Method in class org.deeplearning4j.graph.data.impl.WeightedEdgeLineProcessor
R
- RandomWalkGraphIteratorProvider<V> - Class in org.deeplearning4j.graph.iterator.parallel
- RandomWalkGraphIteratorProvider(IGraph<V, ?>, int) - Constructor for class org.deeplearning4j.graph.iterator.parallel.RandomWalkGraphIteratorProvider
- RandomWalkGraphIteratorProvider(IGraph<V, ?>, int, long, NoEdgeHandling) - Constructor for class org.deeplearning4j.graph.iterator.parallel.RandomWalkGraphIteratorProvider
- RandomWalkIterator<V> - Class in org.deeplearning4j.graph.iterator
- RandomWalkIterator(IGraph<V, ?>, int) - Constructor for class org.deeplearning4j.graph.iterator.RandomWalkIterator
- RandomWalkIterator(IGraph<V, ?>, int, long) - Constructor for class org.deeplearning4j.graph.iterator.RandomWalkIterator
-
Construct a RandomWalkIterator for a given graph, with a specified walk length and random number generator seed.
UsesNoEdgeHandling.EXCEPTION_ON_DISCONNECTED
- hence exception will be thrown when generating random walks on graphs with vertices containing having no edges, or no outgoing edges (for directed graphs) - RandomWalkIterator(IGraph<V, ?>, int, long, NoEdgeHandling) - Constructor for class org.deeplearning4j.graph.iterator.RandomWalkIterator
- RandomWalkIterator(IGraph<V, ?>, int, long, NoEdgeHandling, int, int) - Constructor for class org.deeplearning4j.graph.iterator.RandomWalkIterator
-
Constructor used to generate random walks starting at a subset of the vertices in the graph.
- remove() - Method in class org.deeplearning4j.graph.VertexSequence
- reset() - Method in interface org.deeplearning4j.graph.iterator.GraphWalkIterator
-
Reset the graph walk iterator.
- reset() - Method in class org.deeplearning4j.graph.iterator.RandomWalkIterator
- reset() - Method in class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
- resetWeights() - Method in interface org.deeplearning4j.graph.models.embeddings.GraphVectorLookupTable
-
Reset (randomize) the weights.
- resetWeights() - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
S
- seed(long) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk.Builder
-
Seed for random number generation (used for repeatability).
- SELF_LOOP_ON_DISCONNECTED - org.deeplearning4j.graph.api.NoEdgeHandling
- sequenceLength() - Method in interface org.deeplearning4j.graph.api.IVertexSequence
-
Length of the vertex sequence
- sequenceLength() - Method in class org.deeplearning4j.graph.VertexSequence
- setLearningRate(double) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
- setLearningRate(double) - Method in interface org.deeplearning4j.graph.models.embeddings.GraphVectorLookupTable
-
Set the learning rate
- setLearningRate(double) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- setVertexVectors(INDArray) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- similarity(int, int) - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
-
Returns the cosine similarity of the vector representations of two vertices in the graph, given the indices of these verticies
- similarity(int, int) - Method in interface org.deeplearning4j.graph.models.GraphVectors
- similarity(Vertex<V>, Vertex<V>) - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
-
Returns the cosine similarity of the vector representations of two vertices in the graph
- similarity(Vertex<V>, Vertex<V>) - Method in interface org.deeplearning4j.graph.models.GraphVectors
- STATUS_UPDATE_FREQUENCY - Static variable in class org.deeplearning4j.graph.models.deepwalk.DeepWalk
- StringVertexFactory - Class in org.deeplearning4j.graph.vertexfactory
- StringVertexFactory() - Constructor for class org.deeplearning4j.graph.vertexfactory.StringVertexFactory
- StringVertexFactory(String) - Constructor for class org.deeplearning4j.graph.vertexfactory.StringVertexFactory
T
- toString() - Method in class org.deeplearning4j.graph.api.Edge
- toString() - Method in class org.deeplearning4j.graph.api.Vertex
- toString() - Method in class org.deeplearning4j.graph.Graph
- tree - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
V
- valueOf(String) - Static method in enum org.deeplearning4j.graph.api.NoEdgeHandling
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.deeplearning4j.graph.api.NoEdgeHandling
-
Returns an array containing the constants of this enum type, in the order they are declared.
- vectorsAndGradients(int, int) - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
-
Returns vertex vector and vector gradients, plus inner node vectors and inner node gradients
Specifically, out[0] are vectors, out[1] are gradients for the corresponding vectors
out[0][0] is vector for first vertex; out[0][1] is gradient for this vertex vector
out[0][i] (i>0) is the inner node vector along path to second vertex; out[1][i] is gradient for inner node vertex
This design is used primarily to aid in testing (numerical gradient checks) - vectorSize - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- vectorSize() - Method in interface org.deeplearning4j.graph.models.embeddings.GraphVectorLookupTable
-
The size of the vector representations
- vectorSize() - Method in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- vectorSize(int) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk.Builder
-
Sets the size of the vectors to be learned for each vertex in the graph
- Vertex<T> - Class in org.deeplearning4j.graph.api
- Vertex() - Constructor for class org.deeplearning4j.graph.api.Vertex
- VertexFactory<T> - Interface in org.deeplearning4j.graph.vertexfactory
- vertexID() - Method in class org.deeplearning4j.graph.api.Vertex
- VertexLoader<V> - Interface in org.deeplearning4j.graph.data
- VertexSequence<V> - Class in org.deeplearning4j.graph
- VertexSequence(IGraph<V, ?>, int[]) - Constructor for class org.deeplearning4j.graph.VertexSequence
- vertexVectors - Variable in class org.deeplearning4j.graph.models.embeddings.InMemoryGraphLookupTable
- verticesNearest(int, int) - Method in class org.deeplearning4j.graph.models.embeddings.GraphVectorsImpl
- verticesNearest(int, int) - Method in interface org.deeplearning4j.graph.models.GraphVectors
- VoidVertexFactory - Class in org.deeplearning4j.graph.vertexfactory
- VoidVertexFactory() - Constructor for class org.deeplearning4j.graph.vertexfactory.VoidVertexFactory
W
- walkLength() - Method in interface org.deeplearning4j.graph.iterator.GraphWalkIterator
-
Length of the walks returned by next() Note that a walk of length
i
containsi+1
vertices - walkLength() - Method in class org.deeplearning4j.graph.iterator.RandomWalkIterator
- walkLength() - Method in class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
- WeightedEdgeLineProcessor - Class in org.deeplearning4j.graph.data.impl
- WeightedEdgeLineProcessor(String, boolean) - Constructor for class org.deeplearning4j.graph.data.impl.WeightedEdgeLineProcessor
- WeightedEdgeLineProcessor(String, boolean, String...) - Constructor for class org.deeplearning4j.graph.data.impl.WeightedEdgeLineProcessor
- WeightedRandomWalkGraphIteratorProvider<V> - Class in org.deeplearning4j.graph.iterator.parallel
- WeightedRandomWalkGraphIteratorProvider(IGraph<V, ? extends Number>, int) - Constructor for class org.deeplearning4j.graph.iterator.parallel.WeightedRandomWalkGraphIteratorProvider
- WeightedRandomWalkGraphIteratorProvider(IGraph<V, ? extends Number>, int, long, NoEdgeHandling) - Constructor for class org.deeplearning4j.graph.iterator.parallel.WeightedRandomWalkGraphIteratorProvider
- WeightedRandomWalkIterator<V> - Class in org.deeplearning4j.graph.iterator
- WeightedRandomWalkIterator(IGraph<V, ? extends Number>, int) - Constructor for class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
- WeightedRandomWalkIterator(IGraph<V, ? extends Number>, int, long) - Constructor for class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
-
Construct a RandomWalkIterator for a given graph, with a specified walk length and random number generator seed.
UsesNoEdgeHandling.EXCEPTION_ON_DISCONNECTED
- hence exception will be thrown when generating random walks on graphs with vertices containing having no edges, or no outgoing edges (for directed graphs) - WeightedRandomWalkIterator(IGraph<V, ? extends Number>, int, long, NoEdgeHandling) - Constructor for class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
- WeightedRandomWalkIterator(IGraph<V, ? extends Number>, int, long, NoEdgeHandling, int, int) - Constructor for class org.deeplearning4j.graph.iterator.WeightedRandomWalkIterator
-
Constructor used to generate random walks starting at a subset of the vertices in the graph.
- windowSize(int) - Method in class org.deeplearning4j.graph.models.deepwalk.DeepWalk.Builder
-
Sets the window size used in skipgram model
- writeGraphVectors(DeepWalk, String) - Static method in class org.deeplearning4j.graph.models.loader.GraphVectorSerializer
All Classes All Packages