[mlpack-git] master,mlpack-1.0.x: Fix documentation (#321); from Siddharth. (a6dc629)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:41:48 EST 2015


Repository : https://github.com/mlpack/mlpack

On branches: master,mlpack-1.0.x
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit a6dc62932fb51d1e9008e3a4f33a640264a427e3
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Feb 4 14:12:08 2014 +0000

    Fix documentation (#321); from Siddharth.


>---------------------------------------------------------------

a6dc62932fb51d1e9008e3a4f33a640264a427e3
 src/mlpack/methods/cf/cf.hpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mlpack/methods/cf/cf.hpp b/src/mlpack/methods/cf/cf.hpp
index ecd3eef..47551c4 100644
--- a/src/mlpack/methods/cf/cf.hpp
+++ b/src/mlpack/methods/cf/cf.hpp
@@ -29,19 +29,19 @@ namespace cf /** Collaborative filtering. */{
  * @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-git mailing list