Class PCStructuralLearning
A structural learning algorithm for Bayesian networks based on the PC algorithm.
Inheritance
Implements
Inherited Members
Namespace: BayesServer.Learning.Structure.PC
Assembly: BayesServer.Learning.Structure.dll
Syntax
public sealed class PCStructuralLearning : IStructuralLearning
  Remarks
This algorithm uses independence and conditional independence tests to determine the structure (links) of the Bayesian network.
Methods
Learn(IEvidenceReaderCommand, IList<Node>, IStructuralLearningOptions)
Learn the structure (links) of a Bayesian network.
Declaration
public IStructuralLearningOutput Learn(IEvidenceReaderCommand evidenceReaderCommand, IList<Node> nodes, IStructuralLearningOptions options)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEvidenceReaderCommand | evidenceReaderCommand | Can create a reader which iterates round the data used to learn the network.  | 
      
| System.Collections.Generic.IList<Node> | nodes | The nodes to be considered for links.  | 
      
| IStructuralLearningOptions | options | Options for the structural learning algorithm.  | 
      
Returns
| Type | Description | 
|---|---|
| IStructuralLearningOutput | The output generated by the structural learning algorithm.  | 
      
Learn(IEvidenceReaderCommandFactory, IList<Node>, IStructuralLearningOptions)
Learn the structure (links) of a Bayesian network.
Declaration
public IStructuralLearningOutput Learn(IEvidenceReaderCommandFactory readerCommandFactory, IList<Node> nodes, IStructuralLearningOptions options)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEvidenceReaderCommandFactory | readerCommandFactory | Creates new evidence reader commands, which may be partitioned for use in cross validation.  | 
      
| System.Collections.Generic.IList<Node> | nodes | The nodes to be considered for links.  | 
      
| IStructuralLearningOptions | options | Options for the structural learning algorithm.  | 
      
Returns
| Type | Description | 
|---|---|
| IStructuralLearningOutput | The output generated by the structural learning algorithm.  |