61 template < TESTNAME AttributeSelection,
bool isScalar = false >
83 double attributeSelectionThreshold,
99 double attributeSelectionThreshold,
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void updateFunctionGraph()
Updates target to currently learned graph structure.
NodeId _insertNode(NodeDatabase< AttributeSelection, isScalar > *nDB, const DiscreteVariable *boundVar)
inserts a new node in internal graph
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Set< const DiscreteVariable *> _setOfVars
NodeId __insertNodeInFunctionGraph(NodeId src)
Inserts an internal node in the target.
double __attributeSelectionThreshold
The threshold above which we consider variables to be dependant.
Learn a graphical representation of a function as a decision tree.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Safe iterators for the Set classDevelopers may consider using Set<x>::iterator_safe instead of SetIte...
~ITI()
Default destructor.
<agrum/FMDP/learning/datastructure/incrementalGraphLearner>
HashTable< NodeId, bool > __staleTable
Hashtable indicating if given node has been modified (upon receiving new exemple or through a transpo...
void updateGraph()
Updates the internal graph after a new observation has been added.
Base class for discrete random variable.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void _insertSetOfVars(MultiDimFunctionGraph< double > *ret)
_insertSetOfVars
Idx __nbTotalObservation
The total number of observation added to this tree.
void _updateNodeWithObservation(const Observation *newObs, NodeId currentNodeId)
Will update internal graph's NodeDatabase of given node with the new observation. ...
Representation of a setA Set is a structure that contains arbitrary elements.
ITI(MultiDimFunctionGraph< double > *target, double attributeSelectionThreshold, Set< const DiscreteVariable * > attributeListe, const DiscreteVariable *learnedValue)
ITI constructor for functions describing the behaviour of one variable according to a set of other va...
virtual void add(const DiscreteVariable &v)
Adds a new var to the variables of the multidimensional matrix.
void _removeNode(NodeId removedNodeId)
Removes a node from the internal graph.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
NodeId __insertTerminalNode(NodeId src)
Insert a terminal node in the target.
void _chgNodeBoundVar(NodeId chgedNodeId, const DiscreteVariable *desiredVar)
Changes the associated variable of a node.
Size Idx
Type for indexes.
void addObservation(const Observation *obs)
Inserts a new observation.
Size NodeId
Type for node ids.
<agrum/FMDP/learning/datastructure/nodeDatabase.h>