C# Class DataDebugMethods.Analysis

Show file Open project: plasma-umass/DataDebug

Public Methods

Method Description
BootstrapFrequency ( IEnumerable boots ) : double>.Dictionary
ConvertToNumericOutput ( FunctionOutput boots ) : FunctionOutput[]
DataDebug ( int num_bootstraps, DAG dag, Microsoft.Office.Interop.Excel app, bool weighted, bool all_outputs, long max_duration_in_ms, Stopwatch sw, double significance, ProgBar pb ) : int>.System.Collections.Generic.Dictionary
DictAdd ( int>.System.Collections.Generic.Dictionary d1, int>.System.Collections.Generic.Dictionary d2 ) : int>.System.Collections.Generic.Dictionary
FunctionOutputsAreNumeric ( FunctionOutput boots ) : bool
Inference ( int num_bootstraps, InputSample resamples, InputSample>.Dictionary initial_inputs, string>.Dictionary initial_outputs, AST input_arr, AST output_arr, DAG dag, bool weighted, double significance, ProgBar pb ) : int>.System.Collections.Generic.Dictionary
NumericHypothesisTest ( DAG dag, AST rangeNode, AST functionNode, FunctionOutput boots, string initial_output, bool weighted, double significance ) : int>.System.Collections.Generic.Dictionary
RejectNullHypothesis ( FunctionOutput boots, string original_output, int exclude_index, double significance ) : bool
RejectNullHypothesis ( FunctionOutput boots, string original_output, int exclude_index, double significance ) : double
Resample ( int num_bootstraps, InputSample orig_vals, Random rng ) : DataDebugMethods.InputSample[]
SortBootstraps ( FunctionOutput boots ) : FunctionOutput[]
StoreOutputs ( AST outputs, DAG dag ) : string>.Dictionary
StringHypothesisTest ( DAG dag, AST rangeNode, AST functionNode, FunctionOutput boots, string initial_output, bool weighted, double significance ) : int>.System.Collections.Generic.Dictionary

Private Methods

Method Description
PropagateNodeWeight ( AST node, DAG dag ) : int
PropagateWeights ( DAG dag ) : void
StoreInputs ( AST inputs, DAG dag ) : InputSample>.Dictionary

Method Details

BootstrapFrequency() public static method

public static BootstrapFrequency ( IEnumerable boots ) : double>.Dictionary
boots IEnumerable
return double>.Dictionary

ConvertToNumericOutput() public static method

public static ConvertToNumericOutput ( FunctionOutput boots ) : FunctionOutput[]
boots FunctionOutput
return FunctionOutput[]

DataDebug() public static method

public static DataDebug ( int num_bootstraps, DAG dag, Microsoft.Office.Interop.Excel app, bool weighted, bool all_outputs, long max_duration_in_ms, Stopwatch sw, double significance, ProgBar pb ) : int>.System.Collections.Generic.Dictionary
num_bootstraps int
dag DAG
app Microsoft.Office.Interop.Excel
weighted bool
all_outputs bool
max_duration_in_ms long
sw System.Diagnostics.Stopwatch
significance double
pb ProgBar
return int>.System.Collections.Generic.Dictionary

DictAdd() public static method

public static DictAdd ( int>.System.Collections.Generic.Dictionary d1, int>.System.Collections.Generic.Dictionary d2 ) : int>.System.Collections.Generic.Dictionary
d1 int>.System.Collections.Generic.Dictionary
d2 int>.System.Collections.Generic.Dictionary
return int>.System.Collections.Generic.Dictionary

FunctionOutputsAreNumeric() public static method

public static FunctionOutputsAreNumeric ( FunctionOutput boots ) : bool
boots FunctionOutput
return bool

Inference() public static method

public static Inference ( int num_bootstraps, InputSample resamples, InputSample>.Dictionary initial_inputs, string>.Dictionary initial_outputs, AST input_arr, AST output_arr, DAG dag, bool weighted, double significance, ProgBar pb ) : int>.System.Collections.Generic.Dictionary
num_bootstraps int
resamples InputSample
initial_inputs InputSample>.Dictionary
initial_outputs string>.Dictionary
input_arr AST
output_arr AST
dag DAG
weighted bool
significance double
pb ProgBar
return int>.System.Collections.Generic.Dictionary

NumericHypothesisTest() public static method

public static NumericHypothesisTest ( DAG dag, AST rangeNode, AST functionNode, FunctionOutput boots, string initial_output, bool weighted, double significance ) : int>.System.Collections.Generic.Dictionary
dag DAG
rangeNode AST
functionNode AST
boots FunctionOutput
initial_output string
weighted bool
significance double
return int>.System.Collections.Generic.Dictionary

RejectNullHypothesis() public static method

public static RejectNullHypothesis ( FunctionOutput boots, string original_output, int exclude_index, double significance ) : bool
boots FunctionOutput
original_output string
exclude_index int
significance double
return bool

RejectNullHypothesis() public static method

public static RejectNullHypothesis ( FunctionOutput boots, string original_output, int exclude_index, double significance ) : double
boots FunctionOutput
original_output string
exclude_index int
significance double
return double

Resample() public static method

public static Resample ( int num_bootstraps, InputSample orig_vals, Random rng ) : DataDebugMethods.InputSample[]
num_bootstraps int
orig_vals InputSample
rng System.Random
return DataDebugMethods.InputSample[]

SortBootstraps() public static method

public static SortBootstraps ( FunctionOutput boots ) : FunctionOutput[]
boots FunctionOutput
return FunctionOutput[]

StoreOutputs() public static method

public static StoreOutputs ( AST outputs, DAG dag ) : string>.Dictionary
outputs AST
dag DAG
return string>.Dictionary

StringHypothesisTest() public static method

public static StringHypothesisTest ( DAG dag, AST rangeNode, AST functionNode, FunctionOutput boots, string initial_output, bool weighted, double significance ) : int>.System.Collections.Generic.Dictionary
dag DAG
rangeNode AST
functionNode AST
boots FunctionOutput
initial_output string
weighted bool
significance double
return int>.System.Collections.Generic.Dictionary