| plot.sgd {sgd} | R Documentation |
Plot objects of class sgd.
Description
Plot objects of class sgd.
Usage
## S3 method for class 'sgd'
plot(x, ..., type = "mse", xaxis = "iteration")
## S3 method for class 'list'
plot(x, ..., type = "mse", xaxis = "iteration")
Arguments
x |
object of class |
... |
additional arguments used for each type of plot. See ‘Details’. |
type |
character specifying the type of plot: |
xaxis |
character specifying the x-axis of plot: |
Details
Types of plots available:
mseMean squared error in predictions, which takes the following arguments:
x_testtest set
y_testtest responses to compare predictions to
clfClassification error in predictions, which takes the following arguments:
x_testtest set
y_testtest responses to compare predictions to
mse-paramMean squared error in parameters, which takes the following arguments:
true_paramtrue vector of parameters to compare to