[mlpack] 03/04: Revert accidental commit.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Fri May 9 08:38:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit a0722997d8fff6726fb81eb31ad0d63d2045c0a0
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Sat Apr 19 05:02:05 2014 +0000

    Revert accidental commit.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16454 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/methods/cf/cf_main.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mlpack/methods/cf/cf_main.cpp b/src/mlpack/methods/cf/cf_main.cpp
index 4efd2c9..7c873d4 100644
--- a/src/mlpack/methods/cf/cf_main.cpp
+++ b/src/mlpack/methods/cf/cf_main.cpp
@@ -65,7 +65,6 @@ int main(int argc, char** argv)
 
   // Recommendation matrix.
   arma::Mat<size_t> recommendations;
-  arma::Mat<double> rbRats;
 
   // Get parameters.
   const size_t numRecs = (size_t) CLI::GetParam<int>("recommendations");
@@ -91,7 +90,6 @@ int main(int argc, char** argv)
     Log::Info << "Generating recommendations for " << users.n_elem << " users "
         << "in '" << queryFile << "'." << endl;
     c.GetRecommendations(numRecs, recommendations, users);
-    rbRats=c.Rating();
   }
   else
   {
@@ -101,5 +99,4 @@ int main(int argc, char** argv)
 
   const string outputFile = CLI::GetParam<string>("output_file");
   data::Save(outputFile, recommendations);
-  data::Save((outputFile + "2.csv"), rbRats );
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list