Learn R Programming

dbcsp (version 0.0.2.2)

summary.dbcsp: Summary function implemented by dbcsp class

Description

This function provides a summary of the dbcsp object and information about the performed process.

Usage

# S3 method for dbcsp
summary(object, ...)

Value

No return value, called for side effects.

Arguments

object

object of class dbcsp.

...

not currently used.

Details

It prints the following information:

  • Length and shape of the list of matrices of each class.

  • The number of vectors (dimensions) used in the CSP projection.

  • Distance used when performing the Common Spatial Patterns algorithm.

  • If the training process has already been performed, the obtained training accuracy value.

See Also

dbcsp, print, train, selectQ, predict, plot, boxplot

Examples

Run this code
# Read data from 2 classes
x <- AR.data$come[1:30]
y <- AR.data$five[1:30]
mydbcsp <- new("dbcsp", X1 = x, X2 = y)
summary(mydbcsp)

Run the code above in your browser using DataLab