public class NeuralNetPlotter extends Object implements Serializable
Constructor and Description |
---|
NeuralNetPlotter() |
Modifier and Type | Method and Description |
---|---|
void |
histogram(String[] titles,
org.nd4j.linalg.api.ndarray.INDArray[] matrices)
Histograms the given matrices.
|
void |
plotActivations(NeuralNetwork network) |
void |
plotNetworkGradient(NeuralNetwork network,
NeuralNetworkGradient gradient,
int patchesPerRow) |
void |
renderFilter(org.nd4j.linalg.api.ndarray.INDArray w,
int r,
int c,
long length) |
void |
scatter(String[] titles,
org.nd4j.linalg.api.ndarray.INDArray[] matrices)
Histograms the given matrices.
|
protected String |
writeMatrix(org.nd4j.linalg.api.ndarray.INDArray matrix) |
public void renderFilter(org.nd4j.linalg.api.ndarray.INDArray w, int r, int c, long length)
public void plotNetworkGradient(NeuralNetwork network, NeuralNetworkGradient gradient, int patchesPerRow)
public void scatter(String[] titles, org.nd4j.linalg.api.ndarray.INDArray[] matrices)
titles
- the titles of the plotsmatrices
- the matrices to plotpublic void histogram(String[] titles, org.nd4j.linalg.api.ndarray.INDArray[] matrices)
titles
- the titles of the plotsmatrices
- the matrices to plotprotected String writeMatrix(org.nd4j.linalg.api.ndarray.INDArray matrix) throws IOException
IOException
public void plotActivations(NeuralNetwork network)
Copyright © 2014. All rights reserved.