Function matrixApplyNumericalEncoding
- matrixApplyNumericalEncoding(
matrixInitial: (string | number)[][],
dictionary: Record<string, number>,
): number[][] Parameters
- matrixInitial: (string | number)[][]
- dictionary: Record<string, number>
Returns number[][]
Numerically encodes the strings in the matrix with an encoding dictionary.