[This is preliminary documentation and is subject to change.]
Encodes the specified datasets into the target auto-encoder
Namespace: ClarionAssembly: CLARIONLibrary (in CLARIONLibrary.dll) Version: 6.1.0.7 (6.1.0.7)
Syntax
C# |
---|
public static double Encode<T>( T target, IEnumerable<ActivationCollection> dataSets, ImplicitComponentInitializer..::..EncodeTerminationConditions termination, int numIterations, bool randomTraversal, bool testOnly ) where T : ImplicitComponent, IAutoEncoder |
Parameters
- target
- Type: T
The implicit component inside of which the datasets are to be encoded
- dataSets
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'ActivationCollection>)>)>
The set of all "activation patterns" that are to be encoded into the target auto-encoderNote
For any nodes that have an associated ImplicitComponentInitializer..::..Range defined (using AddRange(IWorldObject, Double, Double, Double)), encoding will occur over that range irrespective of the activations that are specified by the datasets (for those nodes)
- termination
- Type: Clarion..::..ImplicitComponentInitializer..::..EncodeTerminationConditions
The condition in which the encoding operation is to be terminated
- numIterations
- Type: System..::..Int32
(Optional) If the FIXED termination condition is being used, this specifies the number of times over which the datasets should be traversed
- randomTraversal
- Type: System..::..Boolean
(Optional) Indicates whether the data sets should be traversed in a random order for each iteration
- testOnly
- Type: System..::..Boolean
(Optional) Specifies that the target is ONLY being tested by this call to check that it is able to successfully recall all of the data sets
Type Parameters
- T
- The type of IAutoEncoder, ImplicitComponent that is the target of the encoding operation