Best1DCols | R Documentation |
This function takes the whole set of nondecimated wavelet packets and selects those packets that correlate best with the "response" groups. The idea is to reduce the large dimensionality (number of packets) into something more manageable which can then be fed into a proper discriminator.
Best1DCols(w2d, mincor= 0.69999999999999996)
w2d |
An object that gets returned from a call to the
|
mincor |
The threshold above which variables (packets) get included into the final mix if their correlation with the groups variable is higher than this value. |
This function is not intended for direct user use.
In this function, the w2d object contains a matrix where each
column contains the coefficients of a single packet from a
non-decimated wavelet packet transform. The number of rows of the
matrix is the same as the original time series and hence each
column can be correlated with a separate groups variable that
contains the group membership of a separate variable which changes
over time. Those packet columns that have correlation greater
than the mincor
value are extracted and returned
in the BasisMatrix
item of the returned list.
A list with the following components:
nlevelsWT |
The number of levels of the nondecimated wavelet packet encapsulator, w2d |
BasisMatrix |
The highest correlating packets, sorted according to decreasing correlation |
level |
The levels corresponding to the selected packets |
pkt |
The packet indices corresponding to the selected packets |
basiscoef |
The sorted correlations |
groups |
The groups time series |
G P Nason
makewpstDO
,wpst2discr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.