Dataset conflict
with Stats toolbox
MSE clashes
between DIP Image and Neural Nets
Sizes do not match
Some classes have no test objects
The PRTools dataset class conflicts with the dataset class in the Matlab toolbox stats. A typical error message is:
??? Error using ==> dataset.dataset>dataset.dataset at 238
The parameter name is unrecognized or not legal in this context.
This happens when a PRTools dataset command is catched by the stats toolbox. Possible solutions:
The Matlab Neural Net toolbox nnet as well as the DIP Image Matlab interface diptools contain a routine mse. Both packages may be called by PRTools. An error is generated when the wrong mse routine is called. The corresponding package should be moved to the bottom of the search path to solve the problem.
In many ways sizes of datasets and mappings may not match in some of the PRTools routines. Usually this is an error caused by the user, but sometimes difficult to find. Possible causes are:
wrong |
correct |
C*(A*(pca([],0.95)*fisherc))*testc |
In performance estimation by testc an error is generated in case the test set has for some classes no objects:
??? Error using ==> testc
Some classes have no test objects
If it is not the user's intention to estimate the performance of the classifier, but just to estimate the fraction of incorrectly classified test objects, testd may be used instead of testc.
This Web Page Created with PageBreeze Free HTML Editor