public interface IComponent extends ITrainable, IInputState, IOutputState, ISynthesiser
| Modifier and Type | Method and Description |
|---|---|
void |
applyConstraints() |
IComponent |
clone()
Creates a clone of a module, including a deep copy of any mutable state.
|
List<IComponent> |
getComponents() |
LossFunction |
getDefaultLossFunction()
Returns the default loss function that should be used
|
IInputState |
getInputState() |
double |
getLearnFactor() |
boolean |
hasDifferentTrainingThinking() |
void |
initRandom()
Randomly initialises a component's parameters
|
boolean |
isStochastic() |
boolean |
isSynthesiser() |
void |
setLearnFactor(double d) |
void |
thinkInternal()
Thinks within the scope of the component.
|
void |
thinkInternalTraining()
Thinks within the scope of the component.
|
void |
trainGradientInternal(double factor) |
void |
trainSynth(mikera.vectorz.AVector input) |
train, traingetOutputLengthgetInputLengthgetModulesgetGradient, getParameterLength, getParametersgetInput, getInputGradient, setInputgetOutput, getOutputGradient, setOutputgenerate, generate, getDownStack, getUpStack, trainSynthIComponent clone()
IModuleclone in interface IModuleclone in interface IParameterisedclone in interface ISynthesiserclone in interface IThinkerclone in interface ITrainableIInputState getInputState()
void thinkInternal()
void thinkInternalTraining()
thinkInternalTraining in interface ITrainableLossFunction getDefaultLossFunction()
void trainGradientInternal(double factor)
double getLearnFactor()
boolean isStochastic()
void applyConstraints()
void trainSynth(mikera.vectorz.AVector input)
trainSynth in interface ISynthesiserList<IComponent> getComponents()
void initRandom()
boolean hasDifferentTrainingThinking()
void setLearnFactor(double d)
boolean isSynthesiser()
Copyright © 2014. All rights reserved.