Feat C++ API
A feature engineering automation tool
FT::Pop::Op Namespace Reference

namespace representing various operations on population individuals used in Feat More...

Classes

struct  NodeMap
 
class  Node2dGaussian
 
class  NodeAdd
 
class  NodeCos
 
class  NodeCube
 
class  NodeDivide
 
class  NodeExponent
 
class  NodeExponential
 
class  NodeFloat
 
class  NodeGaussian
 
class  NodeLog
 
class  NodeLogit
 
class  NodeMultiply
 
class  NodeRelu
 
class  NodeSign
 
class  NodeSin
 
class  NodeSqrt
 
class  NodeSquare
 
class  NodeStep
 
class  NodeSubtract
 
class  NodeTanh
 
class  NodeIf
 
class  NodeIfThenElse
 
class  NodeFuzzyFixedSplit
 
class  NodeFuzzySplit
 
class  NodeSplit
 
class  NodeAnd
 
class  NodeEqual
 
class  NodeGEQ
 
class  NodeGreaterThan
 
class  NodeLEQ
 
class  NodeLessThan
 
class  NodeNot
 
class  NodeOr
 
class  NodeXor
 
class  NodeCount
 
class  NodeKurtosis
 
class  NodeLongitudinal
 
class  NodeMax
 
class  NodeMean
 
class  NodeMedian
 
class  NodeMin
 
class  NodeRecent
 
class  NodeSkew
 
class  NodeSlope
 
class  NodeVar
 
class  NodeDx
 
class  NodeTrain
 
class  Node
 Represents nodes in a program. More...
 
class  NodeConstant
 
class  NodeVariable
 

Functions

void choose_gpu ()
 
void initialize_cuda ()
 
void GPU_Add (float *x, size_t idx, size_t N, float W0, float W1)
 
void GPU_Subtract (float *x, size_t idx, size_t N, float W0, float W1)
 
void GPU_Multiply (float *x, size_t idx, size_t N, float W0, float W1)
 
void GPU_Divide (float *x, size_t idx, size_t N, float W0, float W1)
 
void GPU_Exp (float *x, size_t idx, size_t N, float W0)
 
void GPU_Log (float *x, size_t idx, size_t N, float W0)
 
void GPU_Sin (float *x, size_t idx, size_t N, float W0)
 
void GPU_Cos (float *x, size_t idx, size_t N, float W0)
 
void GPU_Sqrt (float *x, size_t idx, size_t N, float W0)
 
void GPU_Square (float *x, size_t idx, size_t N, float W0)
 
void GPU_Cube (float *x, size_t idx, size_t N, float W0)
 
void GPU_Exponent (float *x, size_t idx, size_t N, float W0, float W1)
 
void GPU_Logit (float *x, size_t idx, size_t N, float W0)
 
void GPU_Step (float *x, size_t idx, size_t N)
 
void GPU_Sign (float *x, size_t idx, size_t N)
 
void GPU_Tanh (float *x, size_t idx, size_t N, float W0)
 
void GPU_Gaussian (float *x, size_t idx, size_t N, float W0)
 
void GPU_Gaussian2D (float *x, size_t idx, float x1mean, float x1var, float x2mean, float x2var, float W0, float W1, size_t N)
 
void GPU_Relu (float *x, size_t idx, size_t N, float W0)
 
void GPU_Float (float *x, bool *y, size_t idxf, size_t idxb, size_t N)
 
void GPU_Float (float *x, int *y, size_t idxf, size_t idxb, size_t N)
 
void GPU_And (bool *x, size_t idx, size_t N)
 
void GPU_Or (bool *x, size_t idx, size_t N)
 
void GPU_Not (bool *x, size_t idx, size_t N)
 
void GPU_Xor (bool *x, size_t idx, size_t N)
 
void GPU_GEQ (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_LEQ (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_Equal (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_LessThan (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_GreaterThan (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_If (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_IfThenElse (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N)
 
void GPU_Split (float *xf, bool *xb, size_t idxf, size_t idxb, size_t N, float threshold)
 
void GPU_Split (int *xi, bool *xb, size_t idxi, size_t idxb, size_t N, float threshold)
 
void GPU_Constant (float *dev_x, float value, size_t idx, size_t N)
 
void GPU_Constant (bool *dev_x, bool value, size_t idx, size_t N)
 
void GPU_Variable (float *dev_x, float *host_x, size_t idx, size_t N)
 
void GPU_Variable (int *dev_x, int *host_x, size_t idx, size_t N)
 
void GPU_Variable (bool *dev_x, bool *host_x, size_t idx, size_t N)
 
void dev_allocate (float *&f, size_t Sizef, int *&c, size_t Sizec, bool *&b, size_t Sizeb)
 
void copy_from_device (float *dev_f, float *host_f, size_t Sizef)
 
void copy_from_device (int *dev_c, int *host_c, size_t Sizec)
 
void copy_from_device (bool *dev_b, bool *host_b, size_t Sizeb)
 
void copy_from_device (float *dev_f, float *host_f, size_t Sizef, int *dev_c, int *host_c, size_t Sizec, bool *dev_b, bool *host_b, size_t Sizeb)
 
void free_device (float *dev_f, int *dev_c, bool *dev_b)
 
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (NodeFuzzyFixedSplit< float >, name, otype, arity, complexity, visits, train, threshold, threshold_set) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(NodeFuzzyFixedSplit< int >
 
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (NodeFuzzySplit< float >, name, otype, arity, complexity, visits, train, threshold) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(NodeFuzzySplit< int >
 
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (NodeSplit< float >, name, otype, arity, complexity, visits, train, threshold) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(NodeSplit< int >
 
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (NodeVariable< float >, name, otype, arity, complexity, visits, loc, variable_name) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(NodeVariable< bool >
 

Variables

static NodeMap NM
 
 name
 
 otype
 
 arity
 
 complexity
 
 visits
 
 train
 
 threshold
 
 loc
 

Detailed Description

namespace representing various operations on population individuals used in Feat

Function Documentation

◆ choose_gpu()

void FT::Pop::Op::choose_gpu ( )

◆ copy_from_device() [1/4]

void FT::Pop::Op::copy_from_device ( bool *  dev_b,
bool *  host_b,
size_t  Sizeb 
)

◆ copy_from_device() [2/4]

void FT::Pop::Op::copy_from_device ( float *  dev_f,
float *  host_f,
size_t  Sizef 
)

◆ copy_from_device() [3/4]

void FT::Pop::Op::copy_from_device ( float *  dev_f,
float *  host_f,
size_t  Sizef,
int *  dev_c,
int *  host_c,
size_t  Sizec,
bool *  dev_b,
bool *  host_b,
size_t  Sizeb 
)

◆ copy_from_device() [4/4]

void FT::Pop::Op::copy_from_device ( int *  dev_c,
int *  host_c,
size_t  Sizec 
)

◆ dev_allocate()

void FT::Pop::Op::dev_allocate ( float *&  f,
size_t  Sizef,
int *&  c,
size_t  Sizec,
bool *&  b,
size_t  Sizeb 
)

◆ free_device()

void FT::Pop::Op::free_device ( float *  dev_f,
int *  dev_c,
bool *  dev_b 
)

◆ GPU_Add()

void FT::Pop::Op::GPU_Add ( float *  x,
size_t  idx,
size_t  N,
float  W0,
float  W1 
)

◆ GPU_And()

void FT::Pop::Op::GPU_And ( bool *  x,
size_t  idx,
size_t  N 
)

◆ GPU_Constant() [1/2]

void FT::Pop::Op::GPU_Constant ( bool *  dev_x,
bool  value,
size_t  idx,
size_t  N 
)

◆ GPU_Constant() [2/2]

void FT::Pop::Op::GPU_Constant ( float *  dev_x,
float  value,
size_t  idx,
size_t  N 
)

◆ GPU_Cos()

void FT::Pop::Op::GPU_Cos ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Cube()

void FT::Pop::Op::GPU_Cube ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Divide()

void FT::Pop::Op::GPU_Divide ( float *  x,
size_t  idx,
size_t  N,
float  W0,
float  W1 
)

◆ GPU_Equal()

void FT::Pop::Op::GPU_Equal ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_Exp()

void FT::Pop::Op::GPU_Exp ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Exponent()

void FT::Pop::Op::GPU_Exponent ( float *  x,
size_t  idx,
size_t  N,
float  W0,
float  W1 
)

◆ GPU_Float() [1/2]

void FT::Pop::Op::GPU_Float ( float *  x,
bool *  y,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_Float() [2/2]

void FT::Pop::Op::GPU_Float ( float *  x,
int *  y,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_Gaussian()

void FT::Pop::Op::GPU_Gaussian ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Gaussian2D()

void FT::Pop::Op::GPU_Gaussian2D ( float *  x,
size_t  idx,
float  x1mean,
float  x1var,
float  x2mean,
float  x2var,
float  W0,
float  W1,
size_t  N 
)

◆ GPU_GEQ()

void FT::Pop::Op::GPU_GEQ ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_GreaterThan()

void FT::Pop::Op::GPU_GreaterThan ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_If()

void FT::Pop::Op::GPU_If ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_IfThenElse()

void FT::Pop::Op::GPU_IfThenElse ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_LEQ()

void FT::Pop::Op::GPU_LEQ ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_LessThan()

void FT::Pop::Op::GPU_LessThan ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N 
)

◆ GPU_Log()

void FT::Pop::Op::GPU_Log ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Logit()

void FT::Pop::Op::GPU_Logit ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Multiply()

void FT::Pop::Op::GPU_Multiply ( float *  x,
size_t  idx,
size_t  N,
float  W0,
float  W1 
)

◆ GPU_Not()

void FT::Pop::Op::GPU_Not ( bool *  x,
size_t  idx,
size_t  N 
)

◆ GPU_Or()

void FT::Pop::Op::GPU_Or ( bool *  x,
size_t  idx,
size_t  N 
)

◆ GPU_Relu()

void FT::Pop::Op::GPU_Relu ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Sign()

void FT::Pop::Op::GPU_Sign ( float *  x,
size_t  idx,
size_t  N 
)

◆ GPU_Sin()

void FT::Pop::Op::GPU_Sin ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Split() [1/2]

void FT::Pop::Op::GPU_Split ( float *  xf,
bool *  xb,
size_t  idxf,
size_t  idxb,
size_t  N,
float  threshold 
)

◆ GPU_Split() [2/2]

void FT::Pop::Op::GPU_Split ( int *  xi,
bool *  xb,
size_t  idxi,
size_t  idxb,
size_t  N,
float  threshold 
)

◆ GPU_Sqrt()

void FT::Pop::Op::GPU_Sqrt ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Square()

void FT::Pop::Op::GPU_Square ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Step()

void FT::Pop::Op::GPU_Step ( float *  x,
size_t  idx,
size_t  N 
)

◆ GPU_Subtract()

void FT::Pop::Op::GPU_Subtract ( float *  x,
size_t  idx,
size_t  N,
float  W0,
float  W1 
)

◆ GPU_Tanh()

void FT::Pop::Op::GPU_Tanh ( float *  x,
size_t  idx,
size_t  N,
float  W0 
)

◆ GPU_Variable() [1/3]

void FT::Pop::Op::GPU_Variable ( bool *  dev_x,
bool *  host_x,
size_t  idx,
size_t  N 
)

◆ GPU_Variable() [2/3]

void FT::Pop::Op::GPU_Variable ( float *  dev_x,
float *  host_x,
size_t  idx,
size_t  N 
)

◆ GPU_Variable() [3/3]

void FT::Pop::Op::GPU_Variable ( int *  dev_x,
int *  host_x,
size_t  idx,
size_t  N 
)

◆ GPU_Xor()

void FT::Pop::Op::GPU_Xor ( bool *  x,
size_t  idx,
size_t  N 
)

◆ initialize_cuda()

void FT::Pop::Op::initialize_cuda ( )

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE() [1/4]

FT::Pop::Op::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( NodeFuzzyFixedSplit< float >  ,
name  ,
otype  ,
arity  ,
complexity  ,
visits  ,
train  ,
threshold  ,
threshold_set   
)

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE() [2/4]

FT::Pop::Op::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( NodeFuzzySplit< float >  ,
name  ,
otype  ,
arity  ,
complexity  ,
visits  ,
train  ,
threshold   
)

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE() [3/4]

FT::Pop::Op::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( NodeSplit< float >  ,
name  ,
otype  ,
arity  ,
complexity  ,
visits  ,
train  ,
threshold   
)

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE() [4/4]

FT::Pop::Op::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( NodeVariable< float >  ,
name  ,
otype  ,
arity  ,
complexity  ,
visits  ,
loc  ,
variable_name   
)

Variable Documentation

◆ arity

FT::Pop::Op::arity

Definition at line 50 of file n_fuzzy_fixed_split.h.

◆ complexity

FT::Pop::Op::complexity

Definition at line 51 of file n_fuzzy_fixed_split.h.

◆ loc

FT::Pop::Op::loc

Definition at line 39 of file n_variable.h.

◆ name

FT::Pop::Op::name

Definition at line 50 of file n_fuzzy_fixed_split.h.

◆ NM

NodeMap FT::Pop::Op::NM
static

Definition at line 93 of file nodemap.h.

◆ otype

FT::Pop::Op::otype

Definition at line 50 of file n_fuzzy_fixed_split.h.

◆ threshold

FT::Pop::Op::threshold

Definition at line 51 of file n_fuzzy_fixed_split.h.

◆ train

FT::Pop::Op::train

Definition at line 51 of file n_fuzzy_fixed_split.h.

◆ visits

FT::Pop::Op::visits

Definition at line 51 of file n_fuzzy_fixed_split.h.