![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
Superclass for refinement monitors. More...
#include <RefinementMonitor.hpp>
  
 Public Member Functions | |
| virtual void | pushToBuffer (size_t numberInstances, double currentValidError, double currentTrainError)=0 | 
| Stores the current error values in the buffer.  More... | |
| virtual size_t | refinementsNecessary ()=0 | 
| Checks if the model needs to be refined.  More... | |
| virtual | ~RefinementMonitor ()=default | 
| Destructor.  More... | |
Superclass for refinement monitors.
They track whether a refinement should happen or not.
      
  | 
  virtualdefault | 
Destructor.
      
  | 
  pure virtual | 
Stores the current error values in the buffer.
If the buffer has reached the maximum size, the oldest values are removed.
| numberInstances | the number of instances added | 
| currentValidError | The current validation error | 
| currentTrainError | The current training error | 
Implemented in sgpp::datadriven::RefinementMonitorConvergence, and sgpp::datadriven::RefinementMonitorPeriodic.
Referenced by sgpp::datadriven::RefinementHandler::checkRefinementNecessary(), sgpp::datadriven::SparseGridMinerCrossValidation::learn(), sgpp::datadriven::SparseGridMinerSplitting::learn(), sgpp::datadriven::LearnerSGD::train(), sgpp::datadriven::LearnerSVM::train(), and sgpp::datadriven::LearnerSGDE::trainOnline().
      
  | 
  pure virtual | 
Checks if the model needs to be refined.
Implemented in sgpp::datadriven::RefinementMonitorConvergence, and sgpp::datadriven::RefinementMonitorPeriodic.
Referenced by sgpp::datadriven::RefinementHandler::checkRefinementNecessary(), sgpp::datadriven::SparseGridMinerCrossValidation::learn(), sgpp::datadriven::SparseGridMinerSplitting::learn(), sgpp::datadriven::LearnerSGD::train(), sgpp::datadriven::LearnerSVM::train(), and sgpp::datadriven::LearnerSGDE::trainOnline().