Help! Symsum formular in matlab

1 vue (au cours des 30 derniers jours)
Kien Tang
Kien Tang le 1 Sep 2020
Commenté : Kien Tang le 2 Sep 2020
Hi i am new to matlab and i am currently having some trouble with this fomular, i want to implement this fomular into matlab but dont know how
m = 200
with w is a 1xm matrix
lamda is a mx1 matrix
y is a 1xm maxtrix
x is a 8500xm matrix
PS: this fomular is from calculating the Weight in dual form SVM with y is the train label and X is the train data with 8500 sample and 200 features each sample

Réponse acceptée

David Hill
David Hill le 1 Sep 2020
w=(lamda'.*y)*(x');
  1 commentaire
Kien Tang
Kien Tang le 2 Sep 2020
thank you so much for the help

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by