public class SNNSNetFilter extends IOFilter
Please note that this class does a limited job. It should work for basic, feed-forward neural networks, with Backprop or Rprop trainers, but not much else. Also, Boone activation functions have more functionality, which isn't mapped.
Always writes Out_Identity output function. Rewritten for Boone from the netJENXS class ENSNNSFileHandler.
| Modifier and Type | Class and Description |
|---|---|
static class |
SNNSNetFilter.ENSNNSLexicalAnalyzer
Lexical Analyser class.
|
static class |
SNNSNetFilter.ENSNNSParser
Parser.
|
| Modifier and Type | Field and Description |
|---|---|
float |
gridWidth
Neuron position translation - Grid width (scale)
|
protected static java.lang.String |
snnsFileHeader
SNNS file header
|
float |
xOrigin
Neuron position translation - X origin
|
float |
yOrigin
Neuron position translation - Y origin
|
compressed, file, parser, streamSize, writer| Constructor and Description |
|---|
SNNSNetFilter() |
| Modifier and Type | Method and Description |
|---|---|
Storable |
load(Storable storable)
Loads a neural network from an SNNS network file.
|
void |
save(Storable storable)
Writes a network to a file in SNNS format.
|
createInputStream, createOutputStream, getFile, getStreamSize, isCompressed, isStreaming, readValues, reset, setCompressed, setFileprotected static final java.lang.String snnsFileHeader
public float xOrigin
public float yOrigin
public float gridWidth