|
Sunny wrote:
> Hi,
>
> Im trying to use the randfeatures fuction, in the example provided by MATLAB it uses two datasets X(1375x60) and GROUP(1x60)
>
> example: I = randfeatures(X,GROUP,'SubsetSize',15,'Classifier','da');
>
> my dataset of the same type (double) is X(1668x1497) and GROUP(1x1497), but, I get the error message "Error using ==> classify
> TRAINING must have more observations than the number of groups."
>
> I cant work out where this issue lies, my training is 1668 samples which is more than group(60).
>
> Any help?
>
> kind regards
Sunny,
Without looking at your data, I don't know what really happened on your
data. However, the following can be one possible reason.
randfeatures is the bioinformatics toolbox, so every column of X
represents an observed sample. This is a convention used for
bioinformatics applications and is clearly documented.
-Ting
Mathworks
|