plotLoss {gbev} | R Documentation |
The loss function at various boosting iterations is plotted.
plotLoss(object,loss="L2",startIter=1,plt=TRUE)
object |
A fitted object of type gbev.object . |
loss |
Can be "L2" or "logLike" for binary regression. |
startIter |
Iteration at which to start plotting. |
plt |
If TRUE then the loss is plotted, otherwise it is only returned. |
The loss function at increments of iterations equal to object$intermPred
is plotted
and returned.
The function returns
iters
which are the iterations at which loss is evaluated, and loss
the
loss function value.