Week 10 - Face detection Flashcards
How does GPS work
(american system)
Receives signals from a number of satellites
The time is takes from satellite to sensor shows the distance - locate the sensor
What is the problem with GPS
Poor or non-existent satellite visibility
- eg in valley
Multipath reflections
-signals bounce off buildings causing miscalculations
GPS spoofing
-signals are received and re-transmitted after a delay
GPS blocking
transmitted at a higher power than received to prevent them from being received
What are GPS blockers
can be bought for cars
used by delivery drivers so that their office doesn’t know they are asleep somewhere
By drivers who have trackers installed as a condition of their insurance
What is the military problems
Spoofing and Blocking are common military antics
What is the potential military solution
Visual localisation
If the drone is level and the camera is pointed directly downwards, the centre of its image shows the location of the drone
How can ORB feature detector be used for visual localisation
Used to match the drone image with the Google image (finds key points)
Produces a homography (transformation matrix), H, that maps pixels from the drone image to the Google image
maps outline and centre point
Maps centre point quite accurately
How does ORB match to google images
google ariel images are geo-referenced, so we know latitude and longitude bounds of the image
What is the common GPS error
1-2m
So do we still need GPS
Yes
Method still has problems:
- Feature detector parameters need to be tuned for different images
- Images can not always be matched
- If the aerial image covers a larger area, there are
more opportunities to find drone image features in the wrong place
- Many other difficulties:weather conditions, not being perfectly downward-facing, features changing in images, etc
What is a stump
A tree containing only a single node and two leaves
What is the Gini impurity
Gini = 1 - p(yes)² - p(no)²
How do we calculate p(yes)²
(total yes / total (yes+no))²
How do we calculate full gini impurity
Eg chest pain has yes(144) or no(159) children
within the children there is yes or no for heart disease
calculate gini impurity for heart disease individually for yes arm then no arm
then for chest pain you use these calculated values yes = 144/303 x (gini yes) + 159/303 x (gini no)
How does gini imply root node
The lowest gini impurity is placed at root node (separates patients with and without heart disease the most)
How do we then form the remaining nodes
we recalculate gini impurities again down each branch
How do we handle numerical values
sort data into ascending order
calculate the average mass between each sample
eg 1:70kg and 2:82kg -> 76kg
Calculate the gini impurity at each of these avergae weights
Eg node = Mass < 76
Again the lowest gini impurity goes at the root
What can we say about the accuracy of decision trees
Trees do not perfectly classify training data
(generally not very accurate)
it is not likely perfect in classifying new samples
What is a random forest
Lots of decision trees
How do we use bootstrapping
Create a decision tree from bootstrapped data
same as before with gini impurities
After choosing root node, what happens if we have more than 2 remaining variables
Choose at random the next 2 we want to look at