18.11.2014 Views

Pit Pattern Classification in Colonoscopy using Wavelets - WaveLab

Pit Pattern Classification in Colonoscopy using Wavelets - WaveLab

Pit Pattern Classification in Colonoscopy using Wavelets - WaveLab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.3 <strong>Classification</strong><br />

(a) l<strong>in</strong>ear separable<br />

(b) not l<strong>in</strong>ear separable<br />

Figure 3.2: The SVM classifier for two different 2-dimensional feature spaces.<br />

The feature vectors ly<strong>in</strong>g on the boundary are called support vectors, hence the name<br />

support vector mach<strong>in</strong>es. If all feature vectors were removed except the support vectors, the<br />

result<strong>in</strong>g classify<strong>in</strong>g hyperplane will rema<strong>in</strong> the same. This is why those feature vectors are<br />

called support vectors.<br />

SVM tra<strong>in</strong><strong>in</strong>g For a classification problem us<strong>in</strong>g two classes the tra<strong>in</strong><strong>in</strong>g data consists of<br />

feature vectors ⃗x i ∈ R n and the associated class labels y i ∈ {−1, 1} where n is the number<br />

of elements <strong>in</strong> the feature vectors. All feature vectors which lie on the separat<strong>in</strong>g hyperplane<br />

satisfy the equation<br />

⃗x i ⃗w + b = 0 (3.7)<br />

where ⃗w is the normal to the hyperplane and b/‖⃗w‖ is the perpendicular distance from the<br />

hyperplane to the orig<strong>in</strong>. The tra<strong>in</strong><strong>in</strong>g data must satisfy the equations<br />

and<br />

⃗x i ⃗w + b ≥ 1 for y i = 1 (3.8)<br />

⃗x i ⃗w + b ≤ 1 for y i = −1 (3.9)<br />

which can be comb<strong>in</strong>ed <strong>in</strong>to<br />

y i (⃗x i ⃗w + b) − 1 ≥ 0 ∀i (3.10)<br />

We now consider the feature vectors which lie on the boundaries and satisfy the follow<strong>in</strong>g<br />

equations<br />

⃗x i ⃗w + b = 1 for y i = 1 (3.11)<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!