|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
#include <ctxCortexTrainer.h>
Public Member Functions | |
| virtual gzType * | getType () const |
| ctxCortexTrainer (const gzString &save_url=GZ_EMPTY_STRING, const gzString &channel_url="udp::45666", const gzString &channel_name="ctx") | |
| const ctxCortexPtr & | getCortex () const |
| gzVoid | setCortex (const ctxCortexPtr &prop) |
| gzBool | train (const ctxBackpropTrainingOptions &options) |
| Train a complete Backprop session with explicit typed configuration. | |
| gzBool | train (const ctxGeneticTrainingOptions &options) |
| Train a complete fixed-topology Genetic session and retain its final population, elite archive and fitness state. | |
| gzString | getTrainerError () |
| gzVoid | resetTrainerError () |
| Public Member Functions inherited from ctxLevenbergMarquardtSolver | |
| ctxLevenbergMarquardtSolver (ctxDefSolverFunction function=NULL) | |
| virtual | ~ctxLevenbergMarquardtSolver () |
| gzBool | minimize (gzInt32 sample_count, gzInt32 parameter_count, gzFloat *parameters, void *data) |
| gzBool | solve (gzInt32 sample_count, gzInt32 parameter_count, gzFloat *parameters, gzFloat *fvec, gzFloat ftol, gzFloat xtol, gzFloat gtol, int maxfev, gzFloat epsfcn, gzFloat *diag, int mode, gzFloat factor, int *info, int *nfev, gzFloat *fjac, int *ipvt, gzFloat *qtf, gzFloat *wa1, gzFloat *wa2, gzFloat *wa3, gzFloat *wa4, void *data) |
| virtual gzVoid | onEvaluate (gzFloat *parameters, gzInt32 sample_count, gzFloat *fvec, void *data, int *info) |
| gzVoid | setGeneralPrecision (gzFloat precision) |
| gzVoid | setMaxCall (gzUInt32 maxcall) |
| gzVoid | setStepBound (gzFloat stepBound) |
| gzVoid | setMode (gzInt32 mode) |
| gzInt32 | getStatus () |
Static Public Member Functions | |
| static gzType * | getClassType () |
Protected Member Functions | |
| gzBool | updateCandidates (ctxCortexParameters *parameters, gzUInt32 iteration, gzUInt32 period, gzUInt32 epoch, gzUInt32 method, gzFloat expectedMinDiff, gzBool external, gzBool *updatedPopulation=NULL) |
| gzFloat | calcAccumError (ctxContext *context, gzUInt32 *index, gzUInt32 accumulations, gzUInt32 batch_size, gzUInt32 subset_len) |
| virtual gzVoid | onObject (gzObject *object) |
Protected Attributes | |
| gzRefList< ctxCortexParameters > | m_populationList |
| gzRefList< ctxCortexParameters > | m_populationEliteList |
| gzMutex | m_populationListLocker |
| gzFloat | m_bestError |
| gzFloat | m_targetError |
| gzUInt32 | m_eliteCount |
| gzUInt32 | m_candidateCount |
| gzUInt32 | m_eliteFactor |
| gzString | m_save_url |
| gzString | m_error |
Definition at line 364 of file ctxCortexTrainer.h.
| ctxCortexTrainer::ctxCortexTrainer | ( | const gzString & | save_url = GZ_EMPTY_STRING, |
| const gzString & | channel_url = "udp::45666", | ||
| const gzString & | channel_name = "ctx" ) |
References CTX_EXPORT.
|
protected |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
| const ctxCortexPtr & ctxCortexTrainer::getCortex | ( | ) | const |
References CTX_EXPORT.
| gzString ctxCortexTrainer::getTrainerError | ( | ) |
References CTX_EXPORT.
|
virtual |
|
protectedvirtual |
References CTX_EXPORT.
| gzVoid ctxCortexTrainer::resetTrainerError | ( | ) |
References CTX_EXPORT.
| gzVoid ctxCortexTrainer::setCortex | ( | const ctxCortexPtr & | prop | ) |
| gzBool ctxCortexTrainer::train | ( | const ctxBackpropTrainingOptions & | options | ) |
Train a complete Backprop session with explicit typed configuration.
References CTX_EXPORT.
| gzBool ctxCortexTrainer::train | ( | const ctxGeneticTrainingOptions & | options | ) |
Train a complete fixed-topology Genetic session and retain its final population, elite archive and fitness state.
References CTX_EXPORT.
|
protected |
References CTX_EXPORT.
|
protected |
Definition at line 403 of file ctxCortexTrainer.h.
|
protected |
Definition at line 407 of file ctxCortexTrainer.h.
|
protected |
Definition at line 405 of file ctxCortexTrainer.h.
|
protected |
Definition at line 408 of file ctxCortexTrainer.h.
|
protected |
Definition at line 411 of file ctxCortexTrainer.h.
|
protected |
Definition at line 400 of file ctxCortexTrainer.h.
|
protected |
Definition at line 399 of file ctxCortexTrainer.h.
|
protected |
Definition at line 401 of file ctxCortexTrainer.h.
|
protected |
Definition at line 409 of file ctxCortexTrainer.h.
|
protected |
Definition at line 404 of file ctxCortexTrainer.h.