org.neuroph.contrib.graphml
Class GraphmlExport
- java.lang.Object
-
- org.neuroph.contrib.graphml.GraphmlExport
-
public class GraphmlExport extends java.lang.ObjectThe main class to export neural networks to graphml class. To export: 1. Initiate class with Neural network. 2. Parse neural network to graphml representation 3. Print to file/STDOUT
-
-
Constructor Summary
Constructors Constructor and Description GraphmlExport(NeuralNetwork ann)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description XMLElementgetGraphml()NeuralNetworkgetNeuralNetwork()static voidmain(java.lang.String[] args)voidparse()Parses neural network to graphml object.voidprintToStdout()Prints graphml object to STDOUTvoidwriteToFile(java.lang.String filePathOut)Writes graphml object to specified file.
-
-
-
Constructor Detail
-
GraphmlExport
public GraphmlExport(NeuralNetwork ann)
-
-
Method Detail
-
parse
public void parse()
Parses neural network to graphml object.
-
writeToFile
public void writeToFile(java.lang.String filePathOut)
Writes graphml object to specified file.- Parameters:
filePathOut-
-
printToStdout
public void printToStdout()
Prints graphml object to STDOUT
-
getNeuralNetwork
public NeuralNetwork getNeuralNetwork()
-
getGraphml
public XMLElement getGraphml()
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG