Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/packages/utilities/src/metrics/mod.ts>r2

Powerful machine learning, accelerated by WebGPU
Go to Latest
function r2
import { r2 } from "https://deno.land/x/netsaur@0.4.0-patch/packages/utilities/src/metrics/mod.ts";

R2 Score for regression

Parameters

y: ArrayLike<number>
y1: ArrayLike<number>

Returns

number