plot.learnPattern: Plot method for learnPattern objects

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Plot the MSE of a learnPattern object over trees based on out-of-bag predictions

Usage

1
2
## S3 method for class 'learnPattern'
plot(x, type="l", main=deparse(substitute(x)), ...)

Arguments

x

an object of class learnPattern.

type

type of plot.

main

main title of the plot.

...

other graphical parameters.

Value

Invisibly, MSE of the learnPattern object.

Note

This function does not work for learnPattern if oob.predict=FALSE during training.

Author(s)

Mustafa Gokce Baydogan

See Also

learnPattern

Examples

1
2
3
data(GunPoint)
ensemble=learnPattern(GunPoint$trainseries,oob.pred=TRUE,replace=TRUE)
plot(ensemble)

LPStimeSeries documentation built on May 2, 2019, 8:25 a.m.