CSE 573: Artificial Intelligence
Autumn 2010
Lecture 16: Machine Learning Topics 12/7/2010
Luke Zettlemoyer
Most slides over the course adapted from Dan Klein.
1
CSE 573: Artificial Intelligence Autumn 2010 Lecture 16: Machine - - PowerPoint PPT Presentation
CSE 573: Artificial Intelligence Autumn 2010 Lecture 16: Machine Learning Topics 12/7/2010 Luke Zettlemoyer Most slides over the course adapted from Dan Klein. 1 Announcements Syllabus revised Machine learning focus We will do
Most slides over the course adapted from Dan Klein.
1
f1 f2 f3 w1 w2 w3
http://isl.ira.uka.de/neuralNetCourse/2004/VL_11_5/Perceptron.html
http://isl.ira.uka.de/neuralNetCourse/2004/VL_11_5/Perceptron.html
Training Data Held-Out Data Test Data
can help (averaged perceptron)
mitigate these effects
fixes the current mistake…
* Margin Infused Relaxed Algorithm
min not τ=0, or would not have made an error, so min will be where equality holds
are too large
value of τ with some constant C
assumes non-separable data
MIRA SVM
“correct” action a*
similar instances
similar data point
vote (have to devise a weighting scheme)
Truth 10 Examples 100 Examples 10000 Examples
http://www.cs.cmu.edu/~zhuxj/courseproject/knndemo/KNN.html
2 Examples
This and next few slides adapted from Xiao Hu, UIUC
Examples from [Hastie 94]
* Fine print: if your kernel doesn’t satisfy certain technical requirements, lots of proofs break. E.g. convergence, mistake bounds. In practice, illegal kernels sometimes work (but not always).
x2 x x x
This and next few slides adapted from Ray Mooney, UT
Φ: x → φ(x)
41
representation, e.g. RBF or data-defined kernels [Henderson and Titov 05]
space and time per dot product
you need to compute the similarity to every training datum
search results
customers
program executions
to closest mean
the average of its assigned points
change assignments a
change means c
points assignments means
Why doesn’t this work out like the earlier example, with the purple taking over half the blue?
cluster
dendrogram
clustering)
clustering)
like k-means)
59