Week 4

Lecture 4: Logistic Regression, 7 Sept.

Slides

Recording

Mandatory reading

Jurafsky and Martin, Speech and Language Processing, 3. ed. (edition of Oct. 2019)

  • Ch. 5,  "Logistic Regression"
    • Except the technicalities of sections 5.3, 5.4, 5.5, 5.8

Recommended reading

For they who need a brush-up on simple algebra and geometry, we recommend the first two sections, page 1-16, of our own

Compendium on Geometry and linear algebra for IN3050/IN4050

Lab-session 3, Tuesday 8 Sept. at Sed

Mandatory assignment 1

In the mandatory assignment, part B, we will use scikit-learn. To get familiar with the toolkit, you should first read the general introduction.To get familiar with how scikit-learn in general, and multinomial NB text classification in particular, works, you should work your way through the tutorial all the way up to and including "Evaluation of the performance of the test set".

Tutorial jupyter notebook

Recording (part 1)

Recording (part 2)

 

 

 

 

 

Published Sep. 4, 2020 10:58 AM - Last modified Sep. 26, 2020 5:14 PM