MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The TrainerNoisyDqn implements the Noisy-DQN algorithm as described by Google Dopamine DQNAgent, Gheshlagi et al., and inspired by 'Kyushik' and 'higgsfield' More...
Public Member Functions | |
TrainerNoisyDqn (MyCaffeControl< T > mycaffe, PropertySet properties, CryptoRandom random, IxTrainerCallback icallback) | |
The constructor. More... | |
void | Dispose () |
Release all resources used. More... | |
bool | Initialize () |
Initialize the trainer. More... | |
bool | Shutdown (int nWait) |
Shutdown the trainer. More... | |
ResultCollection | RunOne (int nDelay=1000) |
Run a single cycle on the environment after the delay. More... | |
byte[] | Run (int nN, PropertySet runProp, out string type) |
Run a set of iterations and return the resuts. More... | |
bool | Test (int nN, ITERATOR_TYPE type) |
Run the test cycle - currently this is not implemented. More... | |
bool | Train (int nN, ITERATOR_TYPE type, TRAIN_STEP step) |
Train the network using a modified PG training algorithm optimized for GPU use. More... | |
The TrainerNoisyDqn implements the Noisy-DQN algorithm as described by Google Dopamine DQNAgent, Gheshlagi et al., and inspired by 'Kyushik' and 'higgsfield'
T |
Definition at line 33 of file TrainerNoisyDqn.cs.
MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.TrainerNoisyDqn | ( | MyCaffeControl< T > | mycaffe, |
PropertySet | properties, | ||
CryptoRandom | random, | ||
IxTrainerCallback | icallback | ||
) |
The constructor.
mycaffe | Specifies the MyCaffeControl to use for learning and prediction. |
properties | Specifies the property set containing the key/value pairs of property settings. |
random | Specifies a Random number generator used for random selection. |
icallback | Specifies the callback for parent notifications and queries. |
Definition at line 47 of file TrainerNoisyDqn.cs.
void MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.Dispose | ( | ) |
Release all resources used.
Definition at line 58 of file TrainerNoisyDqn.cs.
bool MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.Initialize | ( | ) |
Initialize the trainer.
Implements MyCaffe.trainers.IxTrainer.
Definition at line 66 of file TrainerNoisyDqn.cs.
byte[] MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.Run | ( | int | nN, |
PropertySet | runProp, | ||
out string | type | ||
) |
Run a set of iterations and return the resuts.
nN | Specifies the number of samples to run. |
runProp | Optionally specifies properties to use when running. |
type | Returns the data type contained in the byte stream. |
Implements MyCaffe.trainers.IxTrainerRL.
Definition at line 124 of file TrainerNoisyDqn.cs.
ResultCollection MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.RunOne | ( | int | nDelay = 1000 | ) |
Run a single cycle on the environment after the delay.
nDelay | Specifies a delay to wait before running. |
Implements MyCaffe.trainers.IxTrainerRL.
Definition at line 108 of file TrainerNoisyDqn.cs.
bool MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.Shutdown | ( | int | nWait | ) |
Shutdown the trainer.
nWait | Specifies a wait in ms. for the shutdown to complete. |
Implements MyCaffe.trainers.IxTrainer.
Definition at line 78 of file TrainerNoisyDqn.cs.
bool MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.Test | ( | int | nN, |
ITERATOR_TYPE | type | ||
) |
Run the test cycle - currently this is not implemented.
nN | Specifies the number of iterations (based on the ITERATION_TYPE) to run, or -1 to ignore. |
type | Specifies the iteration type (default = ITERATION). |
Implements MyCaffe.trainers.IxTrainer.
Definition at line 140 of file TrainerNoisyDqn.cs.
bool MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >.Train | ( | int | nN, |
ITERATOR_TYPE | type, | ||
TRAIN_STEP | step | ||
) |
Train the network using a modified PG training algorithm optimized for GPU use.
nN | Specifies the number of iterations (based on the ITERATION_TYPE) to run, or -1 to ignore. |
type | Specifies the iteration type (default = ITERATION). |
step | Specifies the stepping mode to use (when debugging). |
Implements MyCaffe.trainers.IxTrainer.
Definition at line 166 of file TrainerNoisyDqn.cs.