Closed GazeLei closed 5 years ago
Hi Lei: I think what you want to try is multi-response prediction, because your Y has 3 columns. So you have to transfer your data into multi-task learning form as the input. Say your data is x=160x28, y=160x3 X=list(); X[[1]]=x;X[[2]]=x;X[[3]]=x; Y=list();Y[[1]]=y[,1];Y[[2]]=y[,2];Y[[3]]=y[,3];
Regards, Hank
I used this package for the multi-task learning of regression problem. The dataset is (160row, 31 column), and the X is (160row, 28column), Y is (160row, 3 column).
The model and the parameter are that:
The error is that: Error in seq.default(cv_idx, task_sample_size, by = cv_fold) : wrong sign in 'by' argument.
Another model and parameter: