Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ridge and error #16

Open
lpatiny opened this issue Oct 24, 2015 · 1 comment
Open

Ridge and error #16

lpatiny opened this issue Oct 24, 2015 · 1 comment
Assignees

Comments

@lpatiny
Copy link
Member

lpatiny commented Oct 24, 2015

Would be nice that in the model you directly return as well the error

Which error should be calculated ? Currently in the iamage project there is this:

var Y = predict(Xs, model);
var err = 0;
for (let i = 0; i < Xs.length; i++) {
    err += Math.abs(Y[i][0] - Ys[i][0]);
}
@andcastillo
Copy link
Contributor

It has to be the Root Mean Squared Error. It is the function minimised by the method.

@andcastillo andcastillo self-assigned this Oct 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants