n2p2 - A neural network potential package
|
Specific training quantity (e.g. energies, forces, charges). More...
Public Member Functions | |
Property (std::string const &property) | |
Constructor. More... | |
Public Attributes | |
std::string | property |
Copy of identifier within Property map. More... | |
std::string | displayMetric |
Error metric for display. More... | |
std::string | tiny |
Tiny abbreviation string for property. More... | |
std::string | plural |
Plural string of property;. More... | |
SelectionMode | selectionMode |
Selection mode for update candidates. More... | |
std::size_t | numTrainPatterns |
Number of training patterns in set. More... | |
std::size_t | numTestPatterns |
Number of training patterns in set. More... | |
std::size_t | taskBatchSize |
Batch size for each MPI task. More... | |
std::size_t | writeCompEvery |
Write comparison every this many epochs. More... | |
std::size_t | writeCompAlways |
Up to this epoch comparison is written every epoch. More... | |
std::size_t | posUpdateCandidates |
Current position in update candidate list (SM_SORT/_THRESHOLD). More... | |
std::size_t | numGroupedSubCand |
Number of subcandidates which are considered before changing the update candidate. More... | |
std::size_t | countGroupedSubCand |
Counter for number of used subcandidates belonging to same update candidate. More... | |
std::size_t | rmseThresholdTrials |
Maximum trials for SM_THRESHOLD selection mode. More... | |
std::size_t | countUpdates |
Counter for updates per epoch. More... | |
std::size_t | numUpdates |
Number of desired updates per epoch. More... | |
std::size_t | patternsPerUpdate |
Patterns used per update. More... | |
std::size_t | patternsPerUpdateGlobal |
Patterns used per update (summed over all MPI tasks). More... | |
std::size_t | numErrorsGlobal |
Global number of errors per update. More... | |
double | epochFraction |
Desired update fraction per epoch. More... | |
double | rmseThreshold |
RMSE threshold for update candidates. More... | |
std::vector< int > | errorsPerTask |
Errors per task for each update. More... | |
std::vector< int > | offsetPerTask |
Offset for combined error per task. More... | |
std::vector< std::string > | errorMetrics |
Error metrics available for this property. More... | |
std::map< std::string, double > | errorTrain |
Current error metrics of training patterns. More... | |
std::map< std::string, double > | errorTest |
Current error metrics of test patterns. More... | |
std::vector< UpdateCandidate > | updateCandidates |
Vector with indices of training patterns. More... | |
std::vector< std::vector< int > > | weightsPerTask |
Weights per task per updater. More... | |
std::vector< std::vector< int > > | offsetJacobian |
Stride for Jacobians per task per updater. More... | |
std::vector< std::vector< double > > | error |
Global error vector (per updater). More... | |
std::vector< std::vector< double > > | jacobian |
Global Jacobian (per updater). More... | |
std::map< std::size_t, SelectionMode > | selectionModeSchedule |
Schedule for varying selection mode. More... | |
Specific training quantity (e.g. energies, forces, charges).
Definition at line 405 of file Training.h.
Training::Property::Property | ( | std::string const & | property | ) |
Constructor.
Definition at line 4085 of file Training.cpp.
References displayMetric, errorMetrics, errorTest, errorTrain, plural, property, and tiny.
std::string nnp::Training::Property::property |
Copy of identifier within Property map.
Definition at line 411 of file Training.h.
Referenced by Property().
std::string nnp::Training::Property::displayMetric |
std::string nnp::Training::Property::tiny |
Tiny abbreviation string for property.
Definition at line 415 of file Training.h.
Referenced by Property().
std::string nnp::Training::Property::plural |
SelectionMode nnp::Training::Property::selectionMode |
Selection mode for update candidates.
Definition at line 419 of file Training.h.
Referenced by nnp::Training::update().
std::size_t nnp::Training::Property::numTrainPatterns |
Number of training patterns in set.
Definition at line 421 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan().
std::size_t nnp::Training::Property::numTestPatterns |
Number of training patterns in set.
Definition at line 423 of file Training.h.
std::size_t nnp::Training::Property::taskBatchSize |
Batch size for each MPI task.
Definition at line 425 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::size_t nnp::Training::Property::writeCompEvery |
Write comparison every this many epochs.
Definition at line 427 of file Training.h.
std::size_t nnp::Training::Property::writeCompAlways |
Up to this epoch comparison is written every epoch.
Definition at line 429 of file Training.h.
std::size_t nnp::Training::Property::posUpdateCandidates |
Current position in update candidate list (SM_SORT/_THRESHOLD).
Definition at line 431 of file Training.h.
Referenced by nnp::Training::update().
std::size_t nnp::Training::Property::numGroupedSubCand |
Number of subcandidates which are considered before changing the update candidate.
Definition at line 434 of file Training.h.
Referenced by nnp::Training::update().
std::size_t nnp::Training::Property::countGroupedSubCand |
Counter for number of used subcandidates belonging to same update candidate.
Definition at line 437 of file Training.h.
Referenced by nnp::Training::update().
std::size_t nnp::Training::Property::rmseThresholdTrials |
Maximum trials for SM_THRESHOLD selection mode.
Definition at line 439 of file Training.h.
Referenced by nnp::Training::update().
std::size_t nnp::Training::Property::countUpdates |
Counter for updates per epoch.
Definition at line 441 of file Training.h.
Referenced by nnp::Training::update().
std::size_t nnp::Training::Property::numUpdates |
Number of desired updates per epoch.
Definition at line 443 of file Training.h.
Referenced by nnp::Training::setupTraining(), and nnp::Training::setupUpdatePlan().
std::size_t nnp::Training::Property::patternsPerUpdate |
Patterns used per update.
Definition at line 445 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::size_t nnp::Training::Property::patternsPerUpdateGlobal |
Patterns used per update (summed over all MPI tasks).
Definition at line 447 of file Training.h.
Referenced by nnp::Training::setupTraining(), and nnp::Training::setupUpdatePlan().
std::size_t nnp::Training::Property::numErrorsGlobal |
Global number of errors per update.
Definition at line 449 of file Training.h.
Referenced by nnp::Training::allocateArrays(), and nnp::Training::setupUpdatePlan().
double nnp::Training::Property::epochFraction |
Desired update fraction per epoch.
Definition at line 451 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
double nnp::Training::Property::rmseThreshold |
RMSE threshold for update candidates.
Definition at line 453 of file Training.h.
Referenced by nnp::Training::update().
std::vector<int> nnp::Training::Property::errorsPerTask |
Errors per task for each update.
Definition at line 455 of file Training.h.
Referenced by nnp::Training::allocateArrays(), nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::vector<int> nnp::Training::Property::offsetPerTask |
Offset for combined error per task.
Definition at line 457 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::vector<std::string> nnp::Training::Property::errorMetrics |
Error metrics available for this property.
Definition at line 459 of file Training.h.
Referenced by Property().
std::map< std::string, double> nnp::Training::Property::errorTrain |
Current error metrics of training patterns.
Definition at line 462 of file Training.h.
Referenced by Property(), and nnp::Training::update().
std::map< std::string, double> nnp::Training::Property::errorTest |
Current error metrics of test patterns.
Definition at line 465 of file Training.h.
Referenced by Property().
std::vector<UpdateCandidate> nnp::Training::Property::updateCandidates |
Vector with indices of training patterns.
Definition at line 467 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::vector< std::vector<int> > nnp::Training::Property::weightsPerTask |
Weights per task per updater.
Definition at line 470 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::vector< std::vector<int> > nnp::Training::Property::offsetJacobian |
Stride for Jacobians per task per updater.
Definition at line 473 of file Training.h.
Referenced by nnp::Training::setupUpdatePlan(), and nnp::Training::update().
std::vector< std::vector<double> > nnp::Training::Property::error |
Global error vector (per updater).
Definition at line 476 of file Training.h.
Referenced by nnp::Training::allocateArrays(), and nnp::Training::update().
std::vector< std::vector<double> > nnp::Training::Property::jacobian |
Global Jacobian (per updater).
Definition at line 479 of file Training.h.
Referenced by nnp::Training::allocateArrays(), and nnp::Training::update().
std::map< std::size_t, SelectionMode> nnp::Training::Property::selectionModeSchedule |
Schedule for varying selection mode.
Definition at line 482 of file Training.h.