syntax error in code

1 vue (au cours des 30 derniers jours)
tejasvee
tejasvee le 11 Avr 2017
Commenté : Star Strider le 11 Avr 2017
Hello Experts, i have code while running it gives XLSREAD unable to open file 'cleveland.xls' i have attached the code and dataset. please help to remove this syntax error

Réponse acceptée

Star Strider
Star Strider le 11 Avr 2017
The filename is ‘cleveland.csv’, not ‘cleveland.xls’.
Your code should work with that change in all your xlsread calls.
  2 commentaires
tejasvee
tejasvee le 11 Avr 2017
Modifié(e) : Star Strider le 11 Avr 2017
one more error
Error in trainRELM (line 87)
w = (H'*H+l1*eye(nh,nh))\(H'*Data.y);
Error in Main (line 47)
LR2 = trainRELM(DataTG,Params);
Star Strider
Star Strider le 11 Avr 2017
What does the rest of the error message say?
What are ‘nh’ and ‘l1’? (I assume they are scalars, so if they are not, it is necessary to know that.)
What are the sizes of ‘H’ and ‘Data.y’?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical 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