Description Usage Arguments Value Author(s) Examples
Do classification with tree method in one step
1 | decisionStump(X, w, y)
|
X |
Data matrix / Data frame |
w |
Weight that given to each observation. Used in calculate cost function. |
y |
Class label for data points in X, must be -1 or 1 |
j |
The best dimention to cut the tree |
theta |
Value that seperate tree in the best dimention |
m |
the routine label value (for now only 1) |
Xiaoyao Yang
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.