public class NeuralNetPlotter extends Object implements Serializable
Constructor and Description |
---|
NeuralNetPlotter() |
Modifier and Type | Method and Description |
---|---|
void |
hist(Layer network) |
void |
hist(Layer network,
Gradient gradient) |
void |
histogram(String[] titles,
org.nd4j.linalg.api.ndarray.INDArray[] matrices)
Histograms the given matrices.
|
void |
plotActivations(Layer network) |
void |
plotNetworkGradient(Layer network,
Gradient gradient,
int patchesPerRow) |
void |
plotNetworkGradient(Layer network,
org.nd4j.linalg.api.ndarray.INDArray gradient,
int patchesPerRow) |
void |
renderFilter(org.nd4j.linalg.api.ndarray.INDArray w) |
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)
public void plotNetworkGradient(Layer network, org.nd4j.linalg.api.ndarray.INDArray gradient, int patchesPerRow)
public void hist(Layer network)
public void plotNetworkGradient(Layer network, Gradient 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(Layer network)
Copyright © 2015. All Rights Reserved.