Description Usage Arguments Details Value Author(s) Examples
Returning classification for DecisionStump
1 2 |
... |
See |
Returning label for classification problem
classify
is the S3 generic method for
returning classification result.
For more information classify.default
See classify.default
for more information.
Xiaoyao Yang
1 2 3 4 5 6 7 8 | set.seed(1024)
z <- runif(n=5)
mydata <- fakedata(w=z,n=100)
X<- mydata$S[,1:4]
y <- mydata$y
w <- rep(1/100,100)
pars <- decisionStump(X=X,w=w,y=y)
classify.ds(pars,X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.