Class SearchStructuralLearning
- java.lang.Object
-
- com.bayesserver.learning.structure.SearchStructuralLearning
-
- All Implemented Interfaces:
StructuralLearning
public final class SearchStructuralLearning extends Object implements StructuralLearning
A structural learning algorithm for Bayesian networks based on Search and Score. This algorithm performs a search of possible structures based on moves that are evaluated using a scoring function.
-
-
Constructor Summary
Constructors Constructor Description SearchStructuralLearning()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuralLearningOutput
learn(EvidenceReaderCommandFactory readerCommandFactory, List<Node> nodes, StructuralLearningOptions options)
Learn the structure (links) of a Bayesian network.StructuralLearningOutput
learn(EvidenceReaderCommand evidenceReaderCommand, List<Node> nodes, StructuralLearningOptions options)
Learn the structure (links) of a Bayesian network.
-
-
-
Method Detail
-
learn
public StructuralLearningOutput learn(EvidenceReaderCommand evidenceReaderCommand, List<Node> nodes, StructuralLearningOptions options)
Learn the structure (links) of a Bayesian network.- Specified by:
learn
in interfaceStructuralLearning
- Parameters:
evidenceReaderCommand
- Can create a reader which iterates round the data used to learn the network.nodes
- The nodes to be considered for links.options
- Options for the structural learning algorithm.- Returns:
- The output generated by the structural learning algorithm.
-
learn
public StructuralLearningOutput learn(EvidenceReaderCommandFactory readerCommandFactory, List<Node> nodes, StructuralLearningOptions options)
Learn the structure (links) of a Bayesian network.- Specified by:
learn
in interfaceStructuralLearning
- Parameters:
readerCommandFactory
- Creates new evidence reader commands, which may be partitioned for use in cross validation.nodes
- The nodes to be considered for links.options
- Options for the structural learning algorithm.- Returns:
- The output generated by the structural learning algorithm.
-
-