Property | Type | Description | |
---|---|---|---|
directory | string | ||
num_classes_ | int |
Method | Description | |
---|---|---|
AddVectorViaGPUTest ( short input_array, short &output_array ) : void | ||
ConviencePredictFeatureVectorGPU ( short feature_vector, float &predict_output ) : void | ||
FeatureExtraction ( ModeFormat setMode = ModeFormat.Maize, string varDirectory = defaultDirectory, CPUorGPUFormat to_set_xPU_mode = CPUorGPUFormat.GPU ) : System | ||
FindMaxDepthRandomForest ( int tree, int n_tree ) : void | ||
GenerateFeatureVectorViaImageFiles ( string training_set_size ) : void | ||
GenerateOffsetPairs ( ) : void | ||
GetAllTransformedPairs ( int curPosition, int curDepth, List |
||
GetFirstNTransformedPairs ( int curPosition, int curDepth, List |
||
HelperPruneSingleTree ( int new_tree, int old_tree, int new_offset, int old_offset, int cur_depth, int index_new_tree, int index_old_tree, int max_depth ) : int | ||
HelperTransformSingleTree ( int new_tree, int old_tree, int new_tree_off ) : void | ||
IsVectorAddingWrong ( short input_array, short output_array ) : bool | ||
LoadRFModel ( string file_name = "" ) : void | ||
PredictGPU ( short depth, float &predict_output ) : void | ||
PredictOnePixelCPU ( int oneDimensionIndex, short depthArray, double &predictOutput ) : void | ||
PredictOnePixelGPUWithCPUFeatureExtraction ( int one_dimension_index, short depthArray, float &predictOutput ) : void | ||
PruneRFModel ( ) : void | ||
PruneTrees ( int &new_tree, int old_tree, int max_depth, int num_tree ) : void | ||
ReadOffsetPairsFromStorage ( ) : void | ||
SetOffsetMax ( int x ) : void | ||
SetOffsetMin ( int x ) : void | ||
Shuffle ( List |
||
TransformTrees ( int new_tree, int old_tree, int num_trees ) : void | ||
WriteOffsetPairsToStorage ( ) : void | ||
WriteRFModel ( string file_name ) : void | ||
testEnum ( ) : void | ||
testSample ( ) : void | ||
testSplit ( ) : void |
Method | Description | |
---|---|---|
ExtractFeatureFromOneDepthPointAndWriteToFile ( int oneDimensionIndex ) : void | ||
FindMaxDepthSingleTree ( int tree, int index, int offset ) : int | ||
GetDepthByPoint ( int X, int Y ) : int | ||
GetFeatureVectorsFromOneDepthPoint ( int oneDimensionIndex, short depthArray ) : void | ||
GetOffsetPairsFilename ( ) : string | ||
GetOnePairRandomOffset ( int arrayInt ) : void | ||
HelperFindLablesInTree ( int tree, int index, int offset, int y, int explored_depth ) : void | ||
HelperGetOffset ( int Origin, int Offset, int curDepth ) : int | ||
InitGPU ( ) : void | ||
RandomSample ( int numerPerClass ) : void | ||
ReadImageFileToGetDepthAndLabel ( string filePath ) : void | ||
ReadImageFileToGetDepthAndLabel ( string filePath, HandGestureFormat gesture ) : void | ||
SetDirectory ( string dir ) : void | ||
SetMode ( ModeFormat setMode ) : void |
public AddVectorViaGPUTest ( short input_array, short &output_array ) : void | ||
input_array | short | |
output_array | short | |
return | void |
public ConviencePredictFeatureVectorGPU ( short feature_vector, float &predict_output ) : void | ||
feature_vector | short | |
predict_output | float | |
return | void |
public FeatureExtraction ( ModeFormat setMode = ModeFormat.Maize, string varDirectory = defaultDirectory, CPUorGPUFormat to_set_xPU_mode = CPUorGPUFormat.GPU ) : System | ||
setMode | ModeFormat | |
varDirectory | string | |
to_set_xPU_mode | CPUorGPUFormat | |
return | System |
public FindMaxDepthRandomForest ( int tree, int n_tree ) : void | ||
tree | int | |
n_tree | int | |
return | void |
public GenerateFeatureVectorViaImageFiles ( string training_set_size ) : void | ||
training_set_size | string | |
return | void |
public GetAllTransformedPairs ( int curPosition, int curDepth, List |
||
curPosition | int | |
curDepth | int | |
listOfTransformedPairPosition | List |
|
return | void |
public GetFirstNTransformedPairs ( int curPosition, int curDepth, List |
||
curPosition | int | |
curDepth | int | |
listOfTransformedPairPosition | List |
|
N | int | |
return | void |
public HelperPruneSingleTree ( int new_tree, int old_tree, int new_offset, int old_offset, int cur_depth, int index_new_tree, int index_old_tree, int max_depth ) : int | ||
new_tree | int | |
old_tree | int | |
new_offset | int | |
old_offset | int | |
cur_depth | int | |
index_new_tree | int | |
index_old_tree | int | |
max_depth | int | |
return | int |
public HelperTransformSingleTree ( int new_tree, int old_tree, int new_tree_off ) : void | ||
new_tree | int | |
old_tree | int | |
new_tree_off | int | |
return | void |
public IsVectorAddingWrong ( short input_array, short output_array ) : bool | ||
input_array | short | |
output_array | short | |
return | bool |
public LoadRFModel ( string file_name = "" ) : void | ||
file_name | string | |
return | void |
public PredictGPU ( short depth, float &predict_output ) : void | ||
depth | short | |
predict_output | float | |
return | void |
public PredictOnePixelCPU ( int oneDimensionIndex, short depthArray, double &predictOutput ) : void | ||
oneDimensionIndex | int | |
depthArray | short | |
predictOutput | double | |
return | void |
public PredictOnePixelGPUWithCPUFeatureExtraction ( int one_dimension_index, short depthArray, float &predictOutput ) : void | ||
one_dimension_index | int | |
depthArray | short | |
predictOutput | float | |
return | void |
public PruneTrees ( int &new_tree, int old_tree, int max_depth, int num_tree ) : void | ||
new_tree | int | |
old_tree | int | |
max_depth | int | |
num_tree | int | |
return | void |
public TransformTrees ( int new_tree, int old_tree, int num_trees ) : void | ||
new_tree | int | |
old_tree | int | |
num_trees | int | |
return | void |
public WriteRFModel ( string file_name ) : void | ||
file_name | string | |
return | void |