import { Matrix } from 'ml-matrix'; interface Initialisation { XtX: Matrix; XtY: Matrix; nRowsX: number; nColsX: number; nRowsY: number; nColsY: number; } /** * Solves OLS problem, overwriting the negative values of K with 0. * It also pre-computes part of the pseudo-inverse used to solve Least Squares. * @param options * @param options.XtX - input data matrix * @param options.XtY - output data matrix * @param options.nRowsX * @param options.nColsX * @param options.nRowsY * @param options.nColsY * @returns initial values for the algorithm (including the solution K to least squares, overwriting of negative values with 0) */ export declare function initialisation({ XtX, XtY, nRowsX, nColsX, nRowsY, nColsY, }: Initialisation): { iter: number; W: Matrix; K: Matrix; Pset: number[][]; Fset: number[]; }; export {}; //# sourceMappingURL=initialisation.d.ts.map