필터 지우기
필터 지우기

syntax error in code

조회 수: 1 (최근 30일)
tejasvee
tejasvee 2017년 4월 11일
댓글: Star Strider 2017년 4월 11일
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

채택된 답변

Star Strider
Star Strider 2017년 4월 11일
The filename is ‘cleveland.csv’, not ‘cleveland.xls’.
Your code should work with that change in all your xlsread calls.
  댓글 수: 2
tejasvee
tejasvee 2017년 4월 11일
편집: Star Strider 2017년 4월 11일
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 2017년 4월 11일
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’?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by