Module es.upm.fi.cig.multictbnc
Class OnlineMarkovBlanketCTPC
java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.constraintlearning.PC.CTPC
es.upm.fi.cig.multictbnc.learning.structure.constraintlearning.PC.MarkovBlanketCTPC
es.upm.fi.cig.multictbnc.learning.structure.constraintlearning.PC.OnlineMarkovBlanketCTPC
- All Implemented Interfaces:
StructureLearningAlgorithm
This class extends the MB-CTPC algorithm to an online learning context, allowing for dynamic updates to the
learned model based on new data.
-
Constructor Summary
ConstructorDescriptionOnlineMarkovBlanketCTPC
(double sigTimeTransitionHypothesis, double sigStateToStateTransitionHypothesis) Initialises the Online-MB-CTPC algorithm by providing the significances to be used. -
Method Summary
Modifier and TypeMethodDescriptiongetIdxFeatureVariables
(PGM<? extends Node> pgm, List<Integer> idxNodes) Retrieves the index nodes representing feature variables from a given list of index nodes.void
Learns the local structure of certain nodes of a PGM.Methods inherited from class es.upm.fi.cig.multictbnc.learning.structure.constraintlearning.PC.MarkovBlanketCTPC
learn
Methods inherited from class es.upm.fi.cig.multictbnc.learning.structure.constraintlearning.PC.CTPC
addSepSetAndNodeAsParents, addSepSetAsParents, buildCompleteStructure, getIdentifier, getIdxFeatureVariables, getIdxParentsNode, getParametersAlgorithm, learn, learnParentSetNode, retrieveParametersAndSuffStatistics, testNullStateToStateTransitionHypForGivenSepSet, testNullTimeToTransitionHypForGivenSepSet
-
Constructor Details
-
OnlineMarkovBlanketCTPC
public OnlineMarkovBlanketCTPC(double sigTimeTransitionHypothesis, double sigStateToStateTransitionHypothesis) Initialises the Online-MB-CTPC algorithm by providing the significances to be used.- Parameters:
sigTimeTransitionHypothesis
- significance level used for the null time to transition hypothesissigStateToStateTransitionHypothesis
- significance level used for the null state-to-state transition hypothesis
-
-
Method Details
-
learn
Description copied from interface:StructureLearningAlgorithm
Learns the local structure of certain nodes of a PGM.- Specified by:
learn
in interfaceStructureLearningAlgorithm
- Overrides:
learn
in classCTPC
- Parameters:
pgm
- a probabilistic graphical modelidxNodesToUpdate
- node indexes
-
getIdxFeatureVariables
Retrieves the index nodes representing feature variables from a given list of index nodes.- Parameters:
pgm
- the PGM containing the nodesidxNodes
- the list of index nodes- Returns:
- the list of index nodes representing feature variables
-