metrics.h
File Path: modules/metrics/include/metrics/metrics.h
File Type: H (Header)
Lines: 138
Dependencies
Includes:
TCanvas.hTGraph.hTH1F.hTLegend.hTMultiGraph.hTStyle.hnotification/notification.hpyc/pyc.hstructs/report.hstructs/settings.htemplates/model_template.h
Classes
metrics
- Inherits from: ``tools,
public notification``
Methods:
void dump_plots(int k)void dump_loss_plots(int k)void dump_accuracy_plots(int k)void dump_mass_plots(int k)void capture(mode_enum, int kfold, int epoch, int smpl_len)void build_th1f_loss(std::map<std::string, std::tuple<torch::Tensor*, l...)- ``void add_th1f_loss(std::map<std::string, torch::Tensor>* type,
…)``
void build_th1f_accuracy(std::map<std::string, std::tuple<torch::Tensor*, l...)- ``void add_th1f_accuracy(torch::Tensor* pred, torch::Tensor* truth,
…)``
void build_th1f_mass(std::string var_name, graph_enum typ, int kfold)
Structs
analytics_t
Members:
model_template* model = nullptrmodel_report* report = nullptrint this_epoch = 0std::map<mode_enum, std::map<std::string, TH1F*>> loss_graph = {