public interface NEFEnsembleFactory
Modifier and Type | Method and Description |
---|---|
ApproximatorFactory |
getApproximatorFactory() |
VectorGenerator |
getEncoderFactory() |
VectorGenerator |
getEvalPointFactory() |
NodeFactory |
getNodeFactory() |
NEFEnsemble |
make(java.lang.String name,
int n,
float[] radii) |
NEFEnsemble |
make(java.lang.String name,
int n,
float[] radii,
java.lang.String storageName,
boolean overwrite)
Loads an NEFEnsemble, or creates and saves it.
|
NEFEnsemble |
make(java.lang.String name,
int n,
int dim) |
NEFEnsemble |
make(java.lang.String name,
int n,
int dim,
java.lang.String storageName,
boolean overwrite)
Loads an NEFEnsemble, or creates and saves it.
|
void |
setApproximatorFactory(ApproximatorFactory factory) |
void |
setEncoderFactory(VectorGenerator factory) |
void |
setEvalPointFactory(VectorGenerator factory) |
void |
setNodeFactory(NodeFactory factory) |
NodeFactory getNodeFactory()
void setNodeFactory(NodeFactory factory)
factory
- NodeFactory to be used to create Nodes that make up new EnsemblesVectorGenerator getEncoderFactory()
void setEncoderFactory(VectorGenerator factory)
factory
- A VectorGenerator to be used to create encoding vectors that are associated
with each Node in a new EnsembleVectorGenerator getEvalPointFactory()
void setEvalPointFactory(VectorGenerator factory)
factory
- A VectorGenerator to be used to generate the vector states at which decoding
functions are evaluatedApproximatorFactory getApproximatorFactory()
void setApproximatorFactory(ApproximatorFactory factory)
factory
- A factory for creating the LinearApproximators used in decoding ensemble outputNEFEnsemble make(java.lang.String name, int n, int dim) throws StructuralException
name
- Name of the NEFEnsemblen
- Number of neurons in the ensembledim
- Dimension of the ensemble.StructuralException
- if there is any error attempting to create the ensembleNEFEnsemble make(java.lang.String name, int n, float[] radii) throws StructuralException
name
- Name of the NEFEnsemblen
- Number of neurons in the ensembleradii
- Radius of encoded region in each dimensionStructuralException
- if there is any error attempting to create the ensembleNEFEnsemble make(java.lang.String name, int n, float[] radii, java.lang.String storageName, boolean overwrite) throws StructuralException
name
- Name of the NEFEnsemblen
- Number of neurons in the ensembleradii
- Radius of encoded region in each dimension.storageName
- Name for storage (eg filename, db key; may have to be more fully qualified than
name param, if ensembles belonging to multiple networks are stored in the same place)overwrite
- If false, loads the ensemble if it can be found in storage.
If true, creates a new ensemble regardless and overwrites any existing ensemble.StructuralException
- if there is any error attempting to create the ensembleNEFEnsemble make(java.lang.String name, int n, int dim, java.lang.String storageName, boolean overwrite) throws StructuralException
name
- Name of the NEFEnsemblen
- Number of neurons in the ensembledim
- Dimension of the ensemble.storageName
- Name for storage (eg filename, db key; may have to be more fully qualified than
name param, if ensembles belonging to multiple networks are stored in the same place)overwrite
- If false, loads the ensemble if it can be found in storage.
If true, creates a new ensemble regardless and overwrites any existing ensemble.StructuralException
- if there is any error attempting to create the ensemble