필터 지우기
필터 지우기

How to prepare data for using in 'svmclassify'?

조회 수: 1 (최근 30일)
sasikala
sasikala 2013년 2월 6일
I am working on classification of images based my features extracted from wavelet transform of my images. I have computed the mean and energy of the two class of images. For each image I have about 6 feature values. ie., mean and energy of the detail subimages of wavelet transform. Totally I have 5 images in each class. I have extracted features from all the 10 images. I donot know how to feed my features to svm for training and testing?

채택된 답변

sasikala
sasikala 2013년 2월 6일
I am working on classification of images based my features extracted from wavelet transform of my images. I have computed the mean and energy of the two class of images. For each image I have about 6 feature values. ie., mean and energy of the detail subimages of wavelet transform. Totally I have 10 images with 5 images in each class. I have extracted features from all the 10 images. I donot know how to feed my features to svm for training and testing?

추가 답변 (1개)

sasikala
sasikala 2013년 2월 6일
I am working on classification of images based on features extracted from wavelet transform of images. I have computed the mean and energy of the two class of images. For each image I have about 6 feature values. ie., mean and energy of the detail subimages of wavelet transform. Totally I have 5 images in each class. I have extracted features from all the 10 images. I donot know how to feed my features to svm for training and testing?
  댓글 수: 1
Subha
Subha 2013년 2월 16일
Its simple... you need to put the 6 features in each column and the images in row.. just save it in .mat.. u can load the data and run the program... in same manner u can load data for testing also the testing data shd nt be included in ur traning data.. so tat u can knw the performance..
u need to provide the target in column matrix.. ie(n*1) where n is the number of images u have...
.. hope u understand

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 AI for Signals and Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by