A few questions regarding the programming assignment:

1. How should we handle the fact that 10 might not divide the size of the data set? (round the last part to include all remaining elements? not to test the remainder?)

2. Just to make sure - what exactly should we plot as a function of k? I understood it as the average accuracy across all vectors tested (e.g. $1- \left[ \frac{1}{10} \sum_{i} \frac{1}{part-size} \sum_{x \in part} error(x) \right]$

Ex2 - Programming assignment