Package net.myrrix.common.math

Examples of net.myrrix.common.math.IllConditionedSolverException


      }
      RealMatrix MTM = MatrixUtils.transposeTimesSelf(M);
      double infNorm = MTM.getNorm();
      if (infNorm < 1.0) {
        log.warn("X'*X or Y'*Y has small inf norm ({}); try decreasing model.als.lambda", infNorm);
        throw new IllConditionedSolverException("infNorm: " + infNorm);
      }
      return MatrixUtils.getSolver(MTM);
    } finally {
      readLock.unlock();
    }
View Full Code Here

TOP

Related Classes of net.myrrix.common.math.IllConditionedSolverException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.