| DiSMEC++
    | 
 
  
| Public Member Functions | |
| DefaultGatherer (const TrainingSpec &spec) | |
| void | start_label (label_id_t label) override | 
| void | start_training (const DenseRealVector &init_weights) override | 
| void | record_result (const DenseRealVector &weights, const solvers::MinimizationResult &result) override | 
|  Public Member Functions inherited from dismec::ResultStatsGatherer | |
| ResultStatsGatherer () | |
| virtual | ~ResultStatsGatherer () | 
|  Public Member Functions inherited from dismec::stats::Tracked | |
| Tracked () | |
| Default constructor, creates the internal stats::StatisticsCollection.  More... | |
| void | register_stat (const std::string &name, std::unique_ptr< Statistics > stat) | 
| Registers a tracker for the statistics name.  More... | |
| std::shared_ptr< StatisticsCollection > | get_stats () const | 
| Gets an ownership-sharing reference to the StatisticsCollection.  More... | |
| Public Attributes | |
| const DatasetBase * | m_Data | 
| std::unique_ptr< DenseRealVector > | m_InitWeightsCache | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from dismec::stats::Tracked | |
| ~Tracked () | |
| Non-virtual destructor. Declared protected, so we don't accidentally try to do a polymorphic delete.  More... | |
| template<class T > | |
| void | record (stat_id_t stat, T &&value) | 
| Record statistics. This function just forwards all its arguments to the internal StatisticsCollection.  More... | |
| void | declare_stat (stat_id_t index, StatisticMetaData meta) | 
| Declares a new statistics. This function just forwards all its arguments to the internal StatisticsCollection.  More... | |
| void | declare_tag (tag_id_t index, std::string name) | 
| Declares a new tag. This function just forwards all its arguments to the internal StatisticsCollection.  More... | |
| template<class... Args> | |
| void | set_tag (tag_id_t tag, long value) | 
| Set value of tag. This function just forwards all its arguments to the internal StatisticsCollection.  More... | |
| template<class... Args> | |
| auto | make_timer (stat_id_t id, Args... args) | 
| Creates a new ScopeTimerusingstats::record_scope_time.  More... | |
Definition at line 103 of file statistics.cpp.
| 
 | inlineexplicit | 
Definition at line 106 of file statistics.cpp.
References anonymous_namespace{statistics.cpp}::STAT_DURATION, anonymous_namespace{statistics.cpp}::STAT_FINAL_GRAD, anonymous_namespace{statistics.cpp}::STAT_FINAL_LOSS, anonymous_namespace{statistics.cpp}::STAT_INIT_GRAD, anonymous_namespace{statistics.cpp}::STAT_INIT_LOSS, anonymous_namespace{statistics.cpp}::STAT_INIT_VECTOR, anonymous_namespace{statistics.cpp}::STAT_LABEL_FREQ, anonymous_namespace{statistics.cpp}::STAT_LABEL_ID, anonymous_namespace{statistics.cpp}::STAT_NUM_ITERS, anonymous_namespace{statistics.cpp}::STAT_TRAINING_SHIFT, anonymous_namespace{statistics.cpp}::STAT_WEIGHT_VECTOR, anonymous_namespace{statistics.cpp}::TAG_LABEL_FREQ, and anonymous_namespace{statistics.cpp}::TAG_LABEL_ID.
| 
 | inlineoverridevirtual | 
Implements dismec::ResultStatsGatherer.
Definition at line 142 of file statistics.cpp.
References dismec::solvers::MinimizationResult::Duration, dismec::solvers::MinimizationResult::FinalGrad, dismec::solvers::MinimizationResult::FinalValue, dismec::solvers::MinimizationResult::InitialGrad, dismec::solvers::MinimizationResult::InitialValue, dismec::solvers::MinimizationResult::NumIters, anonymous_namespace{statistics.cpp}::STAT_DURATION, anonymous_namespace{statistics.cpp}::STAT_FINAL_GRAD, anonymous_namespace{statistics.cpp}::STAT_FINAL_LOSS, anonymous_namespace{statistics.cpp}::STAT_INIT_GRAD, anonymous_namespace{statistics.cpp}::STAT_INIT_LOSS, anonymous_namespace{statistics.cpp}::STAT_NUM_ITERS, anonymous_namespace{statistics.cpp}::STAT_TRAINING_SHIFT, and anonymous_namespace{statistics.cpp}::STAT_WEIGHT_VECTOR.
| 
 | inlineoverridevirtual | 
Implements dismec::ResultStatsGatherer.
Definition at line 123 of file statistics.cpp.
References anonymous_namespace{statistics.cpp}::STAT_LABEL_FREQ, anonymous_namespace{statistics.cpp}::STAT_LABEL_ID, anonymous_namespace{statistics.cpp}::TAG_LABEL_FREQ, anonymous_namespace{statistics.cpp}::TAG_LABEL_ID, and dismec::opaque_int_type< Tag, T >::to_index().
| 
 | inlineoverridevirtual | 
Implements dismec::ResultStatsGatherer.
Definition at line 131 of file statistics.cpp.
References anonymous_namespace{statistics.cpp}::STAT_INIT_VECTOR, and anonymous_namespace{statistics.cpp}::STAT_TRAINING_SHIFT.
| const DatasetBase* anonymous_namespace{statistics.cpp}::DefaultGatherer::m_Data | 
Definition at line 156 of file statistics.cpp.
| std::unique_ptr<DenseRealVector> anonymous_namespace{statistics.cpp}::DefaultGatherer::m_InitWeightsCache | 
Definition at line 158 of file statistics.cpp.