Computational Vision Computing with Gabors • Orientation and frequency tuning

• Classification

Visual categorization

(1) Feature computation

(2) Categorization process

<0

w

?

1 xi

>0 1 2 xi xi

2 xi

Classification

N-D x4

x

x x

x

x x

x

x

x x x

x3

x

x

x

x1

x

x x2

...

Classification • Two classes

x2

<0

- positive and negative class (mostly convention)

- labels (0,1) or (-1,1)

x x

x

x x

x

x x

x

x x x x

x

x x x1

>0

Classification • Two classes

x2

<0

- positive and negative class (mostly convention)

- labels (0,1) or (-1,1)

• Learning is finding a decision boundary that separates points from the two classes

wT. x = 0

x x

x

x x

x

x x

x

x x x x

x

x x x1

>0

Classification • Two classes

x2

<0

- positive and negative class (mostly convention)

- labels (0,1) or (-1,1)

• Learning is finding a decision boundary that separates points from the two classes

• Learning corresponds to estimating the coefficients of w

wT. x = 0

x x

x

x

x

x

x x

x w=(w1,w2)

x x

x

x x

x x x1

>0

Classification • Train classifier

- online vs. batch training

x2

wT. x = 0

<0 x x

x

x x

x

x x

x

x x x x

x

x x x1

>0

Classification • Train classifier

- online vs. batch training

x2

<0

• Then throw away training examples (keep classifier!)

>0

x1

Classification y = g(x) = wTx >0 or <0 ?

• Train classifier

- online vs. batch training

• Then throw away training examples (keep classifier!)

• Predict label for new (test) example

• By figuring out what side of the classification function it falls onto

x2

<0 ? x=(x1,x2) w=(w1,w2)

>0 x1

Geometric interpretation •

y = g(x) = wTx >0 or <0 ?

wTx

gives a signed measure of the perpendicular distance r of the point x from the decision surface

• Distance to the boundary gives you a measure of discriminability for the sample

x2

y

w

x1

Classification

Neuron’s estimate of the desired output

• Straightforward biological interpretation

• How we measure the discrepancy (i.e., choice of loss function) leads to different algorithms (ie perceptron, least square, etc)

yˆ = g(

X

wi xi ) = g(wT x) input vector

x1 w1 x2



• Learning with a teacher by minimizing the discrepancy between desired and actual output

weight vector

xn

w2 wn

y

L OSS FUNCTIONS Loss functions

LSR SVM

Why not just minimizing the training error? e.g. perceptron

w·x>0

? w·x=0

Why not just minimizing the training error? • Need some guarantee that the learned decision function will be stable to small perturbations of the data

• More generally, classifying well training data does not provide any guarantee that we will classify well future (unseen) data (=generalization)

• Always consider separate training and test data

Why not just minimizing the training error? • Need some extra constraints on the decision boundary (i.e., smoothness)

• Generalization vs. overfitting

Why not just minimizing the training error? • Never select a classifier using the test set! - e.g., don't report the accuracy of the classifier that does best on your test set

y = g(x) = wTx >0 or <0 ? x2

y

w

- Use validation set (ie subset of training data) x1

Sets • Leave-one-out crossvalidation

• Random splits

• k-folds

Tikkhonov regularization Training error

1X minf 2H [ (V (f (xi ) l i

Regularization

yi ) +

2 ||f ||K ]

Err CV Train

hyper-parameters

SVM

V (yi , w · (xi )) + ⇥w⇥

2

C i=1

C = 1/

Support Vector Machine (SVM) w·x<0

w·x>0

M

Support vectors

The margin M measures the distance of the two closest points

w·x=0

RE

:X

M AP Kernels

kernel

F

planes in the feature space

C

V (yi , w · (xi )) + ⇥w⇥

f (x)i=1 = ⌅ , (x)⇧

on linear functions in the original space.

2

Examples of pd kernels

Examples of Kernels

Very common examples of symmetric pd kernels are • Linear kernel K (x, x ⇥ ) = x · x ⇥ • Gaussian kernel

K (x, x ⇥ ) = e

⇤x

x ⇥ ⇤2 2

,

>0

• Polynomial kernel K (x, x ⇥ ) = (x · x ⇥ + 1)d ,

d ⇤N

For specific applications, designing an effective kernel is a challenging problem.

L. Rosasco

RKHS

Multi-class classification

Computational Vision

Why not just minimizing the training error? • Never select a classifier using the test set! - e.g., don't report the accuracy of the classifier that does best on your test ...

2MB Sizes 1 Downloads 351 Views

Recommend Documents

Computational Vision
Gain control / normalization ... Increase in tolerance to position. Local max .... memory. Wallis & Bulthoff '01 but signif. The BG. L(10,4). 4A), alth mance on faces.

Computational Vision
Computer vision is ... source: http://www.persontyle.com/deep-learning-making-ai-intelligent-smarter ... Slides and video recordings will be available online.

vision
The new sub-notebook computer employs a 233 MHz processor, 32 MB of RAM, 4 GB ... Page 9 ... Edge​ ​Detected​ ​Sub-notebook​ ​computer​ ​image.

pdf-1866\the-computational-brain-computational-neuroscience-by ...
... apps below to open or edit this item. pdf-1866\the-computational-brain-computational-neurosc ... -by-patricia-smith-churchland-terrence-j-sejnowski.pdf.

computational electromagnetics
the so-called Euler´s brachistochrone problem [Gould 1957]. ..... challenge on how we should educate the graduate students in this rapidly changing world. The.

computational abilities
The analysis of networks with strong backward coupling proved intractable. ..... This same analysis shows that the system generally fails in a "soft" fashion, with.

Computational Stereo
Another advantage is that stereo is a passive ... Computing Surveys, VoL 14, No. 4, December ...... conditions, cloud cover present in one im- age and not in the ...

Computational Stereo
For correspondence: S. T. Barnard, Artificial Intelligence Center, SRI ... notice is given that copying is by permission of the Association for Computing Machinery. To ... 3.2 Control Data CorporatJon ...... conditions, cloud cover present in one im-

computational abilities
quential memory also emergent properties and collective in origin? This paperexamines a .... rons like a conventional digital computer. There is no evidence.

Computational Economics
of applications in labor search, inequality and business cycles to illustrate the practical use ... Method (hours per week): Lecture (2) + practical class (1).

pdf-1595\embedded-computer-vision-advances-in-computer-vision ...
... apps below to open or edit this item. pdf-1595\embedded-computer-vision-advances-in-comput ... sion-and-pattern-recognition-from-brand-springer.pdf.

DIGITALEUROPE Vision 2020
Chapter 2: The transformational power of digital technologies: sector and case examples. 50. Chapter 3: ...... operation of major new renewable energy sources.

Robot Vision
data is available in the Internet at. . ..... uses only cheap off-the-shelf cameras to fulfill its tasks. .... Chapter four deals with vision systems.

Statistics Online Computational Resource - CiteSeerX
http://www.stat.ucla.edu/~dinov/courses_students.html www. ... 2 General Expectation Maximization (GEM) Algorithms. ... Application 2 (Pattern Recognition) .

Computational stereoscopic zoom
10, 2012; published online Apr. 3, 2012. .... by computing the gradient of binary occlusion map where occlusion ..... PhD degrees from Korea Advanced Institute.

Computational Developmental Neuroscience
The author is with the Department of Psychological and Brain Sciences, In- diana University, Bloomington, IN 47405 USA ... developmental program that is biologically grounded, highly. “open-ended,” and stochastic. .... frames show 300 ms of activ

COMPUTATIONAL ACCURACY IN DSP IMPLEMENTATION ...
... more logic gates are required to implement floating-point. operations. Page 3 of 13. COMPUTATIONAL ACCURACY IN DSP IMPLEMENTATION NOTES1.pdf.

Computational Molecular Evolution -
Auckland CapeTown DaresSalaam HongKong Karachi. Kuala Lumpur Madrid ...... Cysteine, however, has low rates of exchange with all other amino acids. Second, the ...... fluctuations of the market value of a stock. In the implementation of ...

Vision Statement.pdf
Timeline: The work of the Committee shall not be longer than 12 months from the date of its first. meeting. The Committee will update the Board on a regular ...