C# Класс UserSimulation.Utility

Показать файл Открыть проект

Открытые методы

Метод Описание
BothNumbers ( string value1, string value2 ) : bool
CalculateNormalizedError ( string>.System.Collections.Generic.Dictionary correct_outputs, string>.System.Collections.Generic.Dictionary partially_corrected_outputs, double>.System.Collections.Generic.Dictionary max_errors ) : double>.System.Collections.Generic.Dictionary
CalculateTotalError ( string>.System.Collections.Generic.Dictionary correct_outputs, string>.System.Collections.Generic.Dictionary incorrect_outputs ) : double
ErrorDBToCellDict ( ErrorDB errors ) : string>.System.Collections.Generic.Dictionary
GenImportantErrors ( AST output_nodes, string>.System.Collections.Generic.Dictionary inputs, int k, string>.System.Collections.Generic.Dictionary correct_outputs, Microsoft.Office.Interop.Excel app, Microsoft.Office.Interop.Excel wb, Classification c, DAG dag ) : string>.System.Collections.Generic.Dictionary
GetFalseNegatives ( List true_positives, List false_positives, string>.System.Collections.Generic.Dictionary errors ) : HashSet
InjectValues ( Microsoft.Office.Interop.Excel app, Microsoft.Office.Interop.Excel wb, string>.System.Collections.Generic.Dictionary values ) : void
IsNumber ( string value ) : bool
MeanErrorMagnitude ( string>.System.Collections.Generic.Dictionary partially_corrected_outputs, string>.System.Collections.Generic.Dictionary original_outputs ) : double
NumericalMagnitudeChange ( double error, double correct ) : double
RelativeCategoricalError ( string original_value, string partially_corrected_value ) : double
RelativeNumericError ( double correct_value, double partially_corrected_value, double max_error ) : double
SaveInputs ( DAG dag ) : string>.System.Collections.Generic.Dictionary
SaveOutputs ( AST formula_nodes, DAG dag ) : string>.System.Collections.Generic.Dictionary
StringMagnitudeChange ( string error, string correct ) : double
TotalRelativeError ( double>.System.Collections.Generic.Dictionary error ) : double
UpdatePerFunctionMaxError ( string>.System.Collections.Generic.Dictionary correct_outputs, string>.System.Collections.Generic.Dictionary incorrect_outputs, double>.System.Collections.Generic.Dictionary max_errors ) : void

Описание методов

BothNumbers() публичный статический Метод

public static BothNumbers ( string value1, string value2 ) : bool
value1 string
value2 string
Результат bool

CalculateNormalizedError() публичный статический Метод

public static CalculateNormalizedError ( string>.System.Collections.Generic.Dictionary correct_outputs, string>.System.Collections.Generic.Dictionary partially_corrected_outputs, double>.System.Collections.Generic.Dictionary max_errors ) : double>.System.Collections.Generic.Dictionary
correct_outputs string>.System.Collections.Generic.Dictionary
partially_corrected_outputs string>.System.Collections.Generic.Dictionary
max_errors double>.System.Collections.Generic.Dictionary
Результат double>.System.Collections.Generic.Dictionary

CalculateTotalError() публичный статический Метод

public static CalculateTotalError ( string>.System.Collections.Generic.Dictionary correct_outputs, string>.System.Collections.Generic.Dictionary incorrect_outputs ) : double
correct_outputs string>.System.Collections.Generic.Dictionary
incorrect_outputs string>.System.Collections.Generic.Dictionary
Результат double

ErrorDBToCellDict() публичный статический Метод

public static ErrorDBToCellDict ( ErrorDB errors ) : string>.System.Collections.Generic.Dictionary
errors ErrorDB
Результат string>.System.Collections.Generic.Dictionary

GenImportantErrors() публичный статический Метод

public static GenImportantErrors ( AST output_nodes, string>.System.Collections.Generic.Dictionary inputs, int k, string>.System.Collections.Generic.Dictionary correct_outputs, Microsoft.Office.Interop.Excel app, Microsoft.Office.Interop.Excel wb, Classification c, DAG dag ) : string>.System.Collections.Generic.Dictionary
output_nodes AST
inputs string>.System.Collections.Generic.Dictionary
k int
correct_outputs string>.System.Collections.Generic.Dictionary
app Microsoft.Office.Interop.Excel
wb Microsoft.Office.Interop.Excel
c Classification
dag DataDebugMethods.DAG
Результат string>.System.Collections.Generic.Dictionary

GetFalseNegatives() публичный статический Метод

public static GetFalseNegatives ( List true_positives, List false_positives, string>.System.Collections.Generic.Dictionary errors ) : HashSet
true_positives List
false_positives List
errors string>.System.Collections.Generic.Dictionary
Результат HashSet

InjectValues() публичный статический Метод

public static InjectValues ( Microsoft.Office.Interop.Excel app, Microsoft.Office.Interop.Excel wb, string>.System.Collections.Generic.Dictionary values ) : void
app Microsoft.Office.Interop.Excel
wb Microsoft.Office.Interop.Excel
values string>.System.Collections.Generic.Dictionary
Результат void

IsNumber() публичный статический Метод

public static IsNumber ( string value ) : bool
value string
Результат bool

MeanErrorMagnitude() публичный статический Метод

public static MeanErrorMagnitude ( string>.System.Collections.Generic.Dictionary partially_corrected_outputs, string>.System.Collections.Generic.Dictionary original_outputs ) : double
partially_corrected_outputs string>.System.Collections.Generic.Dictionary
original_outputs string>.System.Collections.Generic.Dictionary
Результат double

NumericalMagnitudeChange() публичный статический Метод

public static NumericalMagnitudeChange ( double error, double correct ) : double
error double
correct double
Результат double

RelativeCategoricalError() публичный статический Метод

public static RelativeCategoricalError ( string original_value, string partially_corrected_value ) : double
original_value string
partially_corrected_value string
Результат double

RelativeNumericError() публичный статический Метод

public static RelativeNumericError ( double correct_value, double partially_corrected_value, double max_error ) : double
correct_value double
partially_corrected_value double
max_error double
Результат double

SaveInputs() публичный статический Метод

public static SaveInputs ( DAG dag ) : string>.System.Collections.Generic.Dictionary
dag DataDebugMethods.DAG
Результат string>.System.Collections.Generic.Dictionary

SaveOutputs() публичный статический Метод

public static SaveOutputs ( AST formula_nodes, DAG dag ) : string>.System.Collections.Generic.Dictionary
formula_nodes AST
dag DataDebugMethods.DAG
Результат string>.System.Collections.Generic.Dictionary

StringMagnitudeChange() публичный статический Метод

public static StringMagnitudeChange ( string error, string correct ) : double
error string
correct string
Результат double

TotalRelativeError() публичный статический Метод

public static TotalRelativeError ( double>.System.Collections.Generic.Dictionary error ) : double
error double>.System.Collections.Generic.Dictionary
Результат double

UpdatePerFunctionMaxError() публичный статический Метод

public static UpdatePerFunctionMaxError ( string>.System.Collections.Generic.Dictionary correct_outputs, string>.System.Collections.Generic.Dictionary incorrect_outputs, double>.System.Collections.Generic.Dictionary max_errors ) : void
correct_outputs string>.System.Collections.Generic.Dictionary
incorrect_outputs string>.System.Collections.Generic.Dictionary
max_errors double>.System.Collections.Generic.Dictionary
Результат void