Package edu.pitt.dbmi.algo.resampling
Class GeneralResamplingTest
java.lang.Object
edu.pitt.dbmi.algo.resampling.GeneralResamplingTest
Created by mahdi on 1/16/17.
 
Updated: Chirayu Kong Wongchokprasitti, PhD on 9/13/2018
- 
Constructor SummaryConstructorsConstructorDescriptionGeneralResamplingTest(DataSet data, Algorithm algorithm, int numberResampling, double percentResamplingSize, boolean resamplingWithReplacement, int edgeEnsemble, boolean addOriginalDataset) GeneralResamplingTest(List<DataSet> dataSets, MultiDataSetAlgorithm multiDataSetAlgorithm, int numberResampling, double percentResamplingSize, boolean resamplingWithReplacement, int edgeEnsemble, boolean addOriginalDataset) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic int[][]getAdjConfusionMatrix(Graph truth, Graph estimate) static int[][]getEdgeTypeConfusionMatrix(Graph truth, Graph estimate) getOut()search()voidsetExternalGraph(Graph externalGraph) Sets the initial graph.voidsetKnowledge(Knowledge knowledge) Sets the background knowledge.voidsetOut(PrintStream out) Sets the output stream that output (except for log output) should be sent to.voidsetParameters(Parameters parameters) voidsetScoreWrapper(ScoreWrapper scoreWrapper) voidsetVerbose(boolean verbose) Sets whether verbose output should be produced.
- 
Constructor Details- 
GeneralResamplingTest
- 
GeneralResamplingTestpublic GeneralResamplingTest(List<DataSet> dataSets, MultiDataSetAlgorithm multiDataSetAlgorithm, int numberResampling, double percentResamplingSize, boolean resamplingWithReplacement, int edgeEnsemble, boolean addOriginalDataset) 
 
- 
- 
Method Details- 
getAdjConfusionMatrix
- 
getEdgeTypeConfusionMatrix
- 
setVerbosepublic void setVerbose(boolean verbose) Sets whether verbose output should be produced.
- 
getOut- Returns:
- the output stream that output (except for log output) should be sent to.
 
- 
setOutSets the output stream that output (except for log output) should be sent to. By default System.out.
- 
setParameters
- 
setKnowledgeSets the background knowledge.- Parameters:
- knowledge- the knowledge object, specifying forbidden and required edges.
 
- 
setExternalGraphSets the initial graph.
- 
search
- 
setScoreWrapper
 
-