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

#include <inexact.h>

Collaboration diagram for Brush::Simpl::Inexact_simplifier:

Public Member Functions

void initUniformPlanes (int hashSize, int inputDim, int numPlanes)
 
template<Brush::ProgramType PT>
Program< PTsimplify_tree (Program< PT > &program, const SearchSpace &ss, const Dataset &d)
 
 Inexact_simplifier ()
 
 ~Inexact_simplifier ()
 
void index (TreeIter &spot, const Dataset &d)
 

Private Member Functions

vector< stringhash (const ArrayXf &inputPoint)
 
optional< pair< size_t, string > > query (TreeIter &spot, const Dataset &d)
 

Private Attributes

HashStorage storageBool
 
HashStorage storageInt
 
HashStorage storageFloat
 
map< pair< size_t, string >, tree< Node > > equivalentExpression
 
vector< MatrixXf > uniformPlanes
 

Detailed Description

Definition at line 60 of file inexact.h.

Constructor & Destructor Documentation

◆ Inexact_simplifier()

Brush::Simpl::Inexact_simplifier::Inexact_simplifier ( )

Definition at line 12 of file inexact.cpp.

◆ ~Inexact_simplifier()

Brush::Simpl::Inexact_simplifier::~Inexact_simplifier ( )

Definition at line 188 of file inexact.cpp.

Member Function Documentation

◆ hash()

vector< string > Brush::Simpl::Inexact_simplifier::hash ( const ArrayXf & inputPoint)
private

Definition at line 44 of file inexact.cpp.

Here is the caller graph for this function:

◆ index()

void Brush::Simpl::Inexact_simplifier::index ( TreeIter & spot,
const Dataset & d )

Definition at line 73 of file inexact.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initUniformPlanes()

void Brush::Simpl::Inexact_simplifier::initUniformPlanes ( int hashSize,
int inputDim,
int numPlanes )

Definition at line 28 of file inexact.cpp.

◆ query()

optional< pair< size_t, string > > Brush::Simpl::Inexact_simplifier::query ( TreeIter & spot,
const Dataset & d )
private

Definition at line 109 of file inexact.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ simplify_tree()

template<Brush::ProgramType PT>
Program< PT > Brush::Simpl::Inexact_simplifier::simplify_tree ( Program< PT > & program,
const SearchSpace & ss,
const Dataset & d )
inline

Definition at line 72 of file inexact.h.

Here is the call graph for this function:

Member Data Documentation

◆ equivalentExpression

map<pair<size_t, string>, tree<Node> > Brush::Simpl::Inexact_simplifier::equivalentExpression
private

Definition at line 142 of file inexact.h.

◆ storageBool

HashStorage Brush::Simpl::Inexact_simplifier::storageBool
private

Definition at line 138 of file inexact.h.

◆ storageFloat

HashStorage Brush::Simpl::Inexact_simplifier::storageFloat
private

Definition at line 140 of file inexact.h.

◆ storageInt

HashStorage Brush::Simpl::Inexact_simplifier::storageInt
private

Definition at line 139 of file inexact.h.

◆ uniformPlanes

vector<MatrixXf> Brush::Simpl::Inexact_simplifier::uniformPlanes
private

Definition at line 144 of file inexact.h.


The documentation for this class was generated from the following files: