Linear Models Continued: Perceptron & Logistic Regression
CMSC 723 / LING 723 / INST 725 Marine Carpuat
Slides credit: Graham Neubig, Jacob Eisenstein
Linear Models Continued: Perceptron & Logistic Regression CMSC - - PowerPoint PPT Presentation
Linear Models Continued: Perceptron & Logistic Regression CMSC 723 / LING 723 / INST 725 Marine Carpuat Slides credit: Graham Neubig, Jacob Eisenstein Linear Models for Classification Feature function representation Weights Nave
CMSC 723 / LING 723 / INST 725 Marine Carpuat
Slides credit: Graham Neubig, Jacob Eisenstein
Feature function representation Weights
separable
Requires splitting data into 3 sets: training/development/test
examples incorrectly
%&'()(𝜄)
%&,- 𝜄
𝑓𝑠𝑠𝑝𝑠%&'() 𝜄 < 𝑓𝑠𝑠𝑝𝑠%&,- 𝜄
𝑓𝑠𝑠𝑝𝑠
%-0% 𝜄
hypothesis 𝜄′, such that
didn’t
data; the resulting classifier doesn’t generalize
Illustrations: Graham Neubig
𝑧( given examples 𝑦(