Feat C++ API
A feature engineering automation tool
n_train.h
Go to the documentation of this file.
1
#ifndef NODE_TRAIN_H
2
#define NODE_TRAIN_H
3
4
#include "
node.h
"
5
// This is a subclass node type for nodes that are trained. Adds a train boolean that can be toggled
6
// to switch between training and validation.
7
namespace
FT
{
8
namespace
Pop{
9
namespace
Op{
10
11
class
NodeTrain
:
public
Node
12
{
13
public
:
14
bool
train
;
15
16
bool
isNodeTrain
(){
return
true
; };
17
};
18
// serialization
19
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
NodeTrain
,
name
,
otype
,
arity
,
complexity
,
20
visits
,
train
)
21
}
22
}
23
}
24
25
#endif
FT::Pop::Op::NodeTrain
Definition:
n_train.h:12
FT::Pop::Op::NodeTrain::train
bool train
Definition:
n_train.h:14
FT::Pop::Op::NodeTrain::isNodeTrain
bool isNodeTrain()
Definition:
n_train.h:16
FT::Pop::Op::Node
Represents nodes in a program.
Definition:
node.h:54
FT::Pop::Op::arity
arity
Definition:
n_fuzzy_fixed_split.h:50
FT::Pop::Op::otype
otype
Definition:
n_fuzzy_fixed_split.h:50
FT::Pop::Op::complexity
complexity
Definition:
n_fuzzy_fixed_split.h:51
FT::Pop::Op::visits
visits
Definition:
n_fuzzy_fixed_split.h:51
FT::Pop::Op::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(NodeFuzzyFixedSplit< float >, name, otype, arity, complexity, visits, train, threshold, threshold_set) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(NodeFuzzyFixedSplit< int >
FT::Pop::Op::train
train
Definition:
n_fuzzy_fixed_split.h:51
FT::Pop::Op::name
name
Definition:
n_fuzzy_fixed_split.h:50
FT
main Feat namespace
Definition:
data.cc:13
node.h
src
pop
op
n_train.h
Generated by
1.9.1