Package | Description |
---|---|
org.deeplearning4j.graph.data | |
org.deeplearning4j.graph.data.impl |
Modifier and Type | Method and Description |
---|---|
static <V,E> Graph<V,E> |
GraphLoader.loadGraph(String path,
EdgeLineProcessor<E> lineProcessor,
VertexFactory<V> vertexFactory,
int numVertices,
boolean allowMultipleEdges)
Load a graph into memory, using a given EdgeLineProcessor.
|
static <V,E> Graph<V,E> |
GraphLoader.loadGraph(String vertexFilePath,
String edgeFilePath,
VertexLoader<V> vertexLoader,
EdgeLineProcessor<E> edgeLineProcessor,
boolean allowMultipleEdges)
Load graph, assuming vertices are in one file and edges are in another file.
|
Modifier and Type | Class and Description |
---|---|
class |
DelimitedEdgeLineProcessor
A simple line processor, for data in the format
0
|
class |
WeightedEdgeLineProcessor
A simple line processor, for data in the format
0<delim>1<delim>weight . |
Copyright © 2020. All rights reserved.