/** * Constructs a <code>DoubleLSA</code> object. */ public DoubleLSA(File UtFile, File SFile, File rowFile, File colFile, File dfFile, int dim, boolean rescaleIdf, boolean normalize) throws IOException { init(UtFile, SFile, rowFile, colFile, dfFile, dim, rescaleIdf, normalize); } // end constructor
/** * Constructs a <code>DoubleLSA</code> object. */ public DoubleLSA(String root, int dim, boolean rescaleIdf, boolean normalize) throws IOException { //logger.info("reading ls model..."); this.dim = dim; File Ut = new File(root + "-Ut"); File Sk = new File(root + "-S"); File r = new File(root + "-row"); File c = new File(root + "-col"); File df = new File(root + "-df"); init(Ut, Sk, r, c, df, dim, rescaleIdf, normalize); } // end loadLSM