Module es.upm.fi.cig.multictbnc
Class CTBNHybridStructureLearningAlgorithm
java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.hybrid.CTBNHybridStructureLearningAlgorithm
- All Implemented Interfaces:
StructureLearningAlgorithm
public class CTBNHybridStructureLearningAlgorithm
extends Object
implements StructureLearningAlgorithm
Implements the hybrid structure learning algorithm for continuous-time Bayesian networks. This class was designed to
learn the bridge and feature subgraphs of a Multi-CTBNC.
-
Constructor Summary
ConstructorDescriptionCTBNHybridStructureLearningAlgorithm
(CTBNScoreFunction scoreFunction, int maxSizeSepSet, double sigTimeTransitionHypothesis, double sigStateToStateTransitionHypothesis) Initialises the hybrid structure learning algorithm receiving significance values, a score function and the maximum size of the separating sets. -
Method Summary
Modifier and TypeMethodDescriptionReturns a unique identifier for the structure learning algorithm.Returns the parameters that are used by the algorithm.void
Learns the structure of a certain PGM.void
Learn the local structure of a certain node of a PGM.void
Learns the local structure of certain nodes of a PGM.
-
Constructor Details
-
CTBNHybridStructureLearningAlgorithm
public CTBNHybridStructureLearningAlgorithm(CTBNScoreFunction scoreFunction, int maxSizeSepSet, double sigTimeTransitionHypothesis, double sigStateToStateTransitionHypothesis) Initialises the hybrid structure learning algorithm receiving significance values, a score function and the maximum size of the separating sets.- Parameters:
scoreFunction
- score function for the maximisation phasemaxSizeSepSet
- maximum separating size for the restriction phasesigTimeTransitionHypothesis
- significance level used for the null time to transition hypothesis in the restriction phasesigStateToStateTransitionHypothesis
- significance level used for the null state-to-state transition hypothesis in the restriction phase
-
-
Method Details
-
getIdentifier
Description copied from interface:StructureLearningAlgorithm
Returns a unique identifier for the structure learning algorithm.- Specified by:
getIdentifier
in interfaceStructureLearningAlgorithm
- Returns:
- unique identifier for the structure learning algorithm
-
getParametersAlgorithm
Description copied from interface:StructureLearningAlgorithm
Returns the parameters that are used by the algorithm.- Specified by:
getParametersAlgorithm
in interfaceStructureLearningAlgorithm
- Returns:
- a
Map
with the parameters used by the algorithm
-
learn
Description copied from interface:StructureLearningAlgorithm
Learns the local structure of certain nodes of a PGM.- Specified by:
learn
in interfaceStructureLearningAlgorithm
- Parameters:
pgm
- a probabilistic graphical modelidxNodes
- node indexes
-
learn
Description copied from interface:StructureLearningAlgorithm
Learns the structure of a certain PGM.- Specified by:
learn
in interfaceStructureLearningAlgorithm
- Parameters:
pgm
- a probabilistic graphical model- Throws:
ErroneousValueException
- if a parameter provided is invalid for the requested task
-
learn
Description copied from interface:StructureLearningAlgorithm
Learn the local structure of a certain node of a PGM.- Specified by:
learn
in interfaceStructureLearningAlgorithm
- Parameters:
pgm
- a probabilistic graphical modelidxNode
- node index
-