Final Flashcards

1
Q

How do you find the length of a vector z?

A

sqrt(z1^2 +z2^2 + z3^2…)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the length of a normalized vector?

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When does a scalar flip the direction of a vector?

A

Only when it is negative

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you find the dot product of a1 and b1

A

π‘Žβƒ—β‹…π‘βƒ—=π‘Ž_1 𝑏_1+π‘Ž_2 𝑏_2+…+π‘Ž_𝑛 𝑏_𝑛

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the dot product of a vector multiplied with itself?

A

The magnitude of the vector squared

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In other words, the cosine angle is the __ _____ of two normalized vectors

A

In other words, the cosine angle is the dot product of two normalized vectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When does linear independence occur?

A

If the only way to zero a vector sum is to zero every single individual vector, then these individual vectors are linearly independent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If a set of vectors are _______ to each other, then they are linearly independent

A

If a set of vectors are orthogonal to each other, then they are linearly independent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the maximum number of linearly independent vectors possible in a 3 dimension space

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When does order matter in vector operations?

A

Order is important unless both operands are vectors with dimensions 2 x 2 or greater

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the product of vector g * f transpose

A

(β–ˆ(&𝑔[1]𝑓[1],𝑔[1]𝑓[2],…,𝑔[1]𝑓[𝑛]
;𝑔[2]𝑓[1],𝑔[2]𝑓[2],…,𝑔[2]𝑓[𝑛]…;𝑔[𝑛]𝑓[1],𝑔[𝑛]𝑓[2]
,…,𝑔[𝑛]𝑓[𝑛]))_(𝑛×𝑛)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

𝐴π‘₯βƒ—=πœ†π‘₯βƒ—

In the equation above A is called a ______. And L is called a ______.

A

In the equation above A is called a eigen vector. And L is called a eigen value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is distinctive about eigenvectors?

A

In a matrix operation with another vector, the only way they can change that vector’s direction is to reverse it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Hebb’s rule?

A

When an axon of cell A is near enough to excite a cell B and repeatedly or persistently takes part in firing it, some growth process or metabolic change takes place in one or both cells such that A’s efficiency as one of the cells firing B, is increased

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are three generalizations of Hebb’s rule?

A
  • If excitation of A leads to excitation of B
  • Then the connection between A and B is strengthened
  • So that in the future, excitation of A will more easily excite B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the mathematical formula for Hebb’s rule?

A

Ξ”π΄βˆΞ”π‘“Ξ”π‘”

17
Q

What are three traits of a feed-forward network?

A
  • Connection is always in the direction of input to output
  • No backward connections
  • No lateral connections
18
Q

What proportion of connections are modified during back propagation?

A

All of them

19
Q

What is propagated back during back propagation?

A

error messages

20
Q

How many unique legitimate solutions are there to the traveling salesman problem?

A

if n = # of cities; (n-1)!/2

21
Q

How many solutions with the shortest path are there to the traveling salesman problem if we do not care about direction?

A

2n

22
Q

what are mach bands and what causes them?

A

Mach bands are an optical illusion that exaggerates the contrast between alternating bands of slightly different shades of gray. They demonstrate lateral inhibition in the visual system

23
Q

What are the two central assumptions of a lateral inhibition?

A
  • The brighter the stimulus, the stronger the response will be.
  • The more a cell fires, the more it will inhibit its neighbors
24
Q

What is the evolutionary utility of lateral inhibition?

A

Enhance edges of the world

Since boundaries of objects provide so much information about their shapes

25
Q

Alternative hypothesis for why lateral inhibition exists?

A

It is a good idea for a system to transmit only the difference signal relative to the previous one
This is sufficient
Difference signal can be more efficiently coded because of a larger range for its neural representation

26
Q

How is energy calculated in a neural network?

A

cost = error^2

27
Q

Describe in one word how a boltzmann machine allows β€œa skier” to escape a local minimum

A

annealing

28
Q

What is the relative probability of some weights updating a Boltzmann machine?

A

exp(-E2/T) / exp(-E1/T)

29
Q

What is the chance weights will update if E2 < E1 and T is very high and what does this say about the network’s behavior?

A

Around 50/50; It means the network has a lot of chance to climb out a local minimum

30
Q

What did Geman & Geman (1984) prove?

A

So long as the T cools down sufficiently slowly,

then the global minimum is guaranteed to be found with probability one

31
Q

What is the equation for temperature that guarantees a global minimum for energy will found?

A

T(k) > c/log(1+k) where c is a constant k is the number of full weight sweeps

32
Q

What equation is usually used to find T(k) and why use that instead of T(k) = c/log(1+k)?

A

T(k) = T0 exp(-k/n)

33
Q

In a quantum computer, these bits are replaced by _______ (the qubit) of both 0 and 1 (probability in quantum mechanics)

A

In a quantum computer, these bits are replaced by β€œsuperposition” (the qubit) of both 0 and 1 (probability in quantum mechanics)

34
Q

By putting a set of β€œentangled” qubits into a suitably tuned magnetic field, the optimal solution to an __________ problem can be found in one shot.

A

By putting a set of β€œentangled” qubits into a suitably tuned magnetic field, the optimal solution to an NP-complete problem can be found in one shot.

35
Q

How do you turn a lateral inhibition network into winner take all?

A

High inhibition coefficient
High length
Set self inhibition to 0