If we have this expression tra{m}.X, what sould "tra" be ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Stephen23
le 8 Mai 2017
tra appears to be a cell array containing a (scalar) structure. Better would be to change the code to use a non-scalar structure:
Réponses (0)
Voir également
Catégories
En savoir plus sur Histograms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!