NLP: final assessment
This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: Build an NLP pipeline from scratch
Without hints or libraries, write a program that reads labelled short texts, trains a classifier and a search index on them, and handles new inputs end to end.
- A tokenizer that separates punctuation and keeps contractions together, with tests
- A Naive Bayes classifier with add-one smoothing, evaluated with precision, recall and F1 on held-out texts
- A TF-IDF index that returns the three most similar training texts for any input, with cosine scores
- Spelling correction of unknown words by edit distance before classification and search
- A short written explanation of two mistakes the system makes and why
Final project
A product review analyser: Build a complete text classification pipeline in plain Python that labels product reviews as positive or negative, explains its decisions and measures how well it works.
How it is evaluated
- Correctness: every component passes tests with hand-computed answers
- Evaluation: results are measured on data the system never saw in training
- Understanding: you can explain each formula you used
- Clarity: the pipeline stages are separate, readable functions
To complete this course
- Score at least 70% on the final quiz
- Solve the easy and medium exercises in every lesson
- Finish the final project and check it against the evaluation criteria