import { CategoricalEncoder } from "https://deno.land/x/vectorizer@v0.7.5/src/encoding/categorical.ts";
Convert class labels into categorical variables (one-hot)
Static Methods
fromSoftmax<DT extends DataType>(data: MatrixLike<DT>): Matrix<DT>
Convert softmax outputs into categorical outputs This method mutates the original matrix.