Skip to content

Commit

Permalink
Removal for last multiclass warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 21, 2012
1 parent 4cbdfa4 commit 6d6770b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/shogun/multiclass/tree/TreeMachineNode.h
Expand Up @@ -105,6 +105,7 @@ class CTreeMachineNode
/** extra data carried by the tree node */
T data;

/** print function */
typedef void (*data_print_func_t) (const T&);
/** debug print the tree structure
* @param data_print_func the function to print the data payload
Expand Down
5 changes: 4 additions & 1 deletion src/shogun/multiclass/tree/VwConditionalProbabilityTree.h
Expand Up @@ -22,9 +22,12 @@ namespace shogun
/** Tree Data for Vowpal Wabbit Conditional Probability Tree */
struct VwConditionalProbabilityTreeNodeData
{
/** actual label */
/** probability of right subtree used for prediction */
int32_t label;
float64_t p_right; // prob of right subtree, used in prediction
float64_t p_right;

/** ctor */
VwConditionalProbabilityTreeNodeData():label(-1), p_right(0) {}
};

Expand Down

0 comments on commit 6d6770b

Please sign in to comment.