MCPcopy Create free account
hub / github.com/microsoft/SandDance / tricube

Function tricube

docs/app/js/sanddance-app.js:119892–119894  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

119890 return output(xv, yhat, ux, uy);
119891} // weighting kernel for local regression
119892function tricube(x) {
119893 return (x = 1 - x * x * x) * x * x;
119894} // advance sliding window interval of nearest neighbors
119895function updateInterval(xv, i, interval) {
119896 const val = xv[i];
119897 let left = interval[0], right = interval[1] + 1;

Callers 1

loessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected