TASK 1 (Ranking and evaluation)
1.1 Term-document matrix
1.2 Function for conversion from tf to tf.idf
1.3 Find query with P@2 and AP = 50%
TASK 2 (Encodings)
2.1 Encoding for x = 1, ...,10
2.2 Function for code for x < 16
2.3 Formula for code length for arbitraty x
TASK 3 (Web applications and UTF-8)
3.1 Write HTML
3.2 Write JavaScript
3.3 UTF-8 code for Euro sign
3.4 Function for counting #characters in UTF-8 sequence
TASK 4 (Naive Bayes and k-means)
4.1 Steps of k-means
4.2 Compute centroids from A and P
4.3 Determine w and b of Naive Bayes