[This is preliminary documentation and is subject to change.]
Initializes a trainer (to be used by
Train<(Of <<'(T>)>>)(T, ImplicitComponent, IEnumerable<(Of <<'(ActivationCollection>)>>), ImplicitComponentInitializer..::..TrainingTerminationConditions, Int32, Double, Double, Boolean, Boolean))
Namespace: ClarionAssembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)
Syntax
C# |
---|
public static T InitializeTrainer<T>( IimplicitComponentFactory<T> factory, params Object[] parameters ) where T : ImplicitComponent |
Parameters
- factory
- Type: Clarion.Framework.Templates..::..IimplicitComponentFactory<(Of <(<'T>)>)>
The factory that is to be used to generate the trainer
- parameters
- Type: array<System..::..Object>[]()[][]
(Optional) Any parameters that are necessary for generating the implicit component using the specified factory
Type Parameters
- T
- The type of the trainer that is to be initialized
Return Value
An implicit component that can be used as a trainer for training another implicit component
Remarks
This method works very similarly to the initialization methods in the AgentInitializer, except that the implicit
component that is returned by this method is NOT tied to an agent (nor can it be). Instead, the implicit component returned by this method can ONLY
be used to train another implicit component (that, assumedly, is attached to an agent).
![]() |
---|
Once you have finished setting up the input/output layers of your trainer, you MUST call the Commit()()()() method before it can be used |