public interface IComponent extends ITrainable, IInputState, IOutputState
| 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() |
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) |
train, traingetOutputLengthgetInputLengthgetModulesgetGradient, getParameterLength, getParametersgetInput, getInputGradient, setInputgetOutput, getOutputGradient, setOutputIComponent clone()
IModuleclone in interface IModuleclone in interface IParameterisedclone 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()
List<IComponent> getComponents()
void initRandom()
boolean hasDifferentTrainingThinking()
void setLearnFactor(double d)
Copyright © 2013. All Rights Reserved.