Package com.bayesserver.analysis
Interface ClusterCountActions
-
public interface ClusterCountActions
Actions which the caller must implement to use ClusterCount.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EvidenceReaderCommand
createEvidenceReaderCommand(Network networkCopy, DataPartitioning partitioning)
A user supplied function to create an evidence reader command based on a copy of the original network.void
learn(Network networkCopy, EvidenceReaderCommand evidenceReaderCommand)
A user supplied function to learn the paramters of a copy of the original network based on a training partition of the data.
-
-
-
Method Detail
-
createEvidenceReaderCommand
EvidenceReaderCommand createEvidenceReaderCommand(Network networkCopy, DataPartitioning partitioning)
A user supplied function to create an evidence reader command based on a copy of the original network.- Parameters:
networkCopy
- A copy of the original network.partitioning
- The data partition which the evidence reader command should read.- Returns:
- The evidence reader command for the given partitioning.
-
learn
void learn(Network networkCopy, EvidenceReaderCommand evidenceReaderCommand)
A user supplied function to learn the paramters of a copy of the original network based on a training partition of the data.- Parameters:
networkCopy
- A copy of the original network whose parameters need to be learnt.evidenceReaderCommand
- The evidence reader command to use for parameter learning.
-
-