If we have this expression tra{m}.X, what sould "tra" be ?

2 vues (au cours des 30 derniers jours)
Mayssa
Mayssa le 8 Mai 2017
Commenté : Stephen23 le 8 Mai 2017
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 ?
  1 commentaire
Stephen23
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:

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox 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!

Translated by