nickgillian / grt

gesture recognition toolkit
862 stars 284 forks source link

Allow a VectorFloat to be initialised from a vector<Float> #169

Open jamiebullock opened 4 years ago

jamiebullock commented 4 years ago

This allows for more convenient inline adding of feature vectors, for example:

ClassificationData data;

data.addSample(1, vector<Float>{1, 2, 3, 4, 5});