Package org.apache.hama.ml.recommendation.cf

Examples of org.apache.hama.ml.recommendation.cf.MovieLensConverter


        str.append("\n");
      }
      fileOut.writeBytes(str.toString());
      fileOut.close();
     
      MovieLensConverter converter = new MovieLensConverter();
      assertEquals(true, converter.convert(strDataPath, null, convertedFileName));
     
      OnlineCF recommender = new OnlineCF();
      recommender.setInputPreferences(convertedFileName);
      recommender.setIteration(150);
      recommender.setMatrixRank(3);
View Full Code Here

TOP

Related Classes of org.apache.hama.ml.recommendation.cf.MovieLensConverter

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.