A feature vector is a vector that records the features of a given observation in a defined order. Example: [1, 1, 0, 1, 0].
Training set

The dimension of each feature (i.e movie 1) is the length of the feature vector (6 in the example above).
Testing set
