Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
Brush::Simpl::SimplificationRecord Struct Reference

One replacement performed by a simplifier, as written to <logfile>_simplifications.csv. More...

#include <record.h>

Collaboration diagram for Brush::Simpl::SimplificationRecord:

Public Attributes

unsigned generation = 0
unsigned individual_id = 0
std::string simplifier
 "constants" or "inexact"
std::string ret_type
 return type of the replaced subtree
std::string original
 subtree before the replacement
std::string replacement
 subtree after the replacement
float distance = 0.0f
 mse between program predictions before/after (inexact only)

Detailed Description

One replacement performed by a simplifier, as written to <logfile>_simplifications.csv.

Definition at line 11 of file record.h.

Member Data Documentation

◆ distance

float Brush::Simpl::SimplificationRecord::distance = 0.0f

mse between program predictions before/after (inexact only)

Definition at line 19 of file record.h.

◆ generation

unsigned Brush::Simpl::SimplificationRecord::generation = 0

Definition at line 13 of file record.h.

◆ individual_id

unsigned Brush::Simpl::SimplificationRecord::individual_id = 0

Definition at line 14 of file record.h.

◆ original

std::string Brush::Simpl::SimplificationRecord::original

subtree before the replacement

Definition at line 17 of file record.h.

◆ replacement

std::string Brush::Simpl::SimplificationRecord::replacement

subtree after the replacement

Definition at line 18 of file record.h.

◆ ret_type

std::string Brush::Simpl::SimplificationRecord::ret_type

return type of the replaced subtree

Definition at line 16 of file record.h.

◆ simplifier

std::string Brush::Simpl::SimplificationRecord::simplifier

"constants" or "inexact"

Definition at line 15 of file record.h.


The documentation for this struct was generated from the following file: