Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/vectorizer/src/utils/misc/matrix.ts>Matrix#filter

Feature Extraction and Feature Selection in TypeScript
Go to Latest
method Matrix.prototype.filter
import { Matrix } from "https://deno.land/x/vectorizer@v0.3.7/src/utils/misc/matrix.ts";

Filter the matrix by rows

Parameters

fn: (
value: DType<T>,
row: number,
_: DType<T>[],
) => boolean