If we have this expression tra{m}.X, what sould "tra" be ?
1 次查看(过去 30 天)
显示 更早的评论
I am trying to understand a function that trains a simple multiple Kernel SVM on training data with given parameters (smksvm(tra,par)), and along the code "tra" is used in a way that I didn't know how to apply it on my data (which is a feature matrix of 77 patients), I know it should be defined as a cell from the expression but all my attempts have failed drastically, any suggestions ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163837/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163838/image.png)
1 个评论
Stephen23
2017-5-8
tra appears to be a cell array containing a (scalar) structure. Better would be to change the code to use a non-scalar structure:
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!