import { CategoricalEncoder } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/mod.ts";
Constructors
new
CategoricalEncoder(mappings?: Map<T, number>)Methods
fit(document: T[]): CategoricalEncoder<T>
getMapping<DT extends DataType>(data: DType<DT>): T | undefined
untransform<DT extends DataType>(data: MatrixLike<DT>): T[]