-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Could we have another method that calculates this internally ?
const diff = xValueExperimental.map((experimental) => {
return xValuePredicted.map((predicted) => {
return Math.abs(predicted - experimental);
});
});I don't know about a correct name but it would be something like:
abcd(experimental, predicted, {})
And one of the options could be a callback like
distance: (a,b) => Math.abs(a-b)
Metadata
Metadata
Assignees
Labels
No labels