[mlpack-svn] r16207 - mlpack/trunk/src/mlpack/methods/cf

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Feb 4 09:12:08 EST 2014


Author: rcurtin
Date: Tue Feb  4 09:12:08 2014
New Revision: 16207

Log:
Fix documentation (#321); from Siddharth.


Modified:
   mlpack/trunk/src/mlpack/methods/cf/cf.hpp

Modified: mlpack/trunk/src/mlpack/methods/cf/cf.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/cf/cf.hpp	(original)
+++ mlpack/trunk/src/mlpack/methods/cf/cf.hpp	Tue Feb  4 09:12:08 2014
@@ -29,19 +29,19 @@
  * @code
  * extern arma::mat data; // (user, item, rating) table
  * extern arma::Col<size_t> users; // users seeking recommendations
- * arma::mat recommendations; // Recommendations
+ * arma::Mat<size_t> recommendations; // Recommendations
  * size_t numRecommendations = 10;
  *
- * CF<> cf(data); // Default options.
+ * CF cf(data); // Default options.
  *
  * // Generate the default number of recommendations for all users.
- * cf.GenerateRecommendations(recommendations);
+ * cf.GetRecommendations(recommendations);
  *
  * // Generate the default number of recommendations for specified users.
- * cf.GenerateRecommendations(recommendations, users);
+ * cf.GetRecommendations(recommendations, users);
  *
  * // Generate 10 recommendations for specified users.
- * cf.GenerateRecommendations(recommendations, users, numRecommendations);
+ * cf.GetRecommendations(recommendations, users, numRecommendations);
  *
  * @endcode
  *



More information about the mlpack-svn mailing list