5859606162636465666768
* @return 误差 */ float computeObjective(SparseMatrix v, SparseMatrix w, SparseMatrix h) { SparseMatrix matrixWH = w.mutiplyMatrix(h); SparseMatrix diff = v.clone(); diff.minus(matrixWH); return diff.l2Norm(); } SparseMatrix updateH() {