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

x/vectorizer/src/feature/text.ts>TextVectorizer#transform

Feature Extraction and Feature Selection in TypeScript
Go to Latest
method TextVectorizer.prototype.transform
import { TextVectorizer } from "https://deno.land/x/vectorizer@v0.3.7/src/feature/text.ts";

Parameters

text: string | string[]

Returns

Matrix<"f32">

Type Parameters

T extends DataType

Parameters

text: string | string[]
dType: T

Returns

Matrix<T>