i have this error, why?
显示 更早的评论
Undefined function or method 'score' for input arguments of type 'double' please can you help me?
e=res_tst(1,:)-zitr;
t=score(e);
4 个评论
KSSV
2017-11-15
score accepts data of type table. You are inputting a double...it will throw error. Read more here: https://in.mathworks.com/help/finance/creditscorecard.score.html
Chandrasekhar
2017-11-15
The command cannot find the function 'score'. Place the function file in the current working directory or add the file path to the MATLAB 'setpath' for the command to work.
imen baklouti
2017-11-15
编辑:imen baklouti
2017-11-15
Walter Roberson
2017-11-15
The only Mathworks-provided score() function is an operation specific to creditscorecard objects created by the Finance Toolbox.
The table that KSSV mentions is only for the second input; the first input needs to be a creditscorecard object.
We cannot send you the code for the method; if you do not have the finance toolbox then it is useless to you, and it would violate our license agreements to send it.
Might I suggest that possibly you are looking for zscore() instead of score()? zscore is part of the Statistics and Machine Learning toolbox.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Price and Analyze Financial Instruments 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!