struct res
{
double predict_label1[3][1];
double precision1[60][1];
double prob_estimates_t1[60][3];
};
res = svmpredict(LabelS1,SStest1, model);
return;
}
Last edited on
res = svmpredict(LabelS1,SStest1, model);
res is a kind of object. This is like saying:
int = 7;
If you want to use an object of type res , create one:
res someNewObject;
As an aside, you are definitely making this very hard for yourself by using enormous numbers of two dimensional arrays.