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 commentaires

KSSV
KSSV le 15 Nov 2017
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
Chandrasekhar le 15 Nov 2017
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
imen baklouti le 15 Nov 2017
Modifié(e) : imen baklouti le 15 Nov 2017
thanks for the answer but how can i get the function file? Can you please send it to me! Thanks
Walter Roberson
Walter Roberson le 15 Nov 2017
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.

Connectez-vous pour commenter.

 Réponse acceptée

imen baklouti
imen baklouti le 15 Nov 2017
Modifié(e) : imen baklouti le 15 Nov 2017

0 votes

and what about Huber’s score function? hub(e)

1 commentaire

Walter Roberson
Walter Roberson le 15 Nov 2017
I am not familiar with Huber's score function. Is it related to the 'huber' option of https://www.mathworks.com/help/stats/robustfit.html ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Price and Analyze Financial Instruments dans Centre d'aide 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