I have extracted the following features of hand: compactness, aspect ration and orientation and stored them in a .csv file. Now I want to train them using KNN. KNN takes a matrix as input, how should I combines these features into a single Mat and train them.