You should put all your training samples into two dimensional array of size [npoints, nvars+1] where npoints = number of training examples, nvars = number of variables(7 in your case) and the last column(+1) is for class label.
More information on parameteres you can find near the function definition.
For more information on dataset format read this -> dataset format