View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Prepare svm datasets for multi svm

5.0 | 1 rating Rate this file 21 Downloads (last 30 days) File Size: 1.88 KB File ID: #40021 Version: 1.2

Prepare svm datasets for multi svm



28 Jan 2013 (Updated )

Prepare Training set, Test set and Train groups(labels) for multisvm

| Watch this File

File Information

please note that this function will give test set and training set images separately as a output and will convert images to grayscale.
This function will take four input variables and will give three output variables, which are as follows:
Input : TrainingSet_location, No_Testset,width, height
Output : Train_Set,Test_Set,train_label

TrainingSet_location : Only o/p of function DirRead is accepted or an array of locations
No_Testset : No of testset images per class.
width, height are resize parameters of images.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
11 Feb 2015 Roshni rahul

sir i have to train face images and classify basic 6 expression.i have prepared svm_dataset for multiclass svm but the following errors are shown when im giving this output as the input to

Error using svmtrain (line 241)
TRAINING must be a numeric matrix.

can u please help me to solve this problem

13 Mar 2013 1.2

No of training sets can be given now along with the no of test set

Contact us