[mlpack-git] master, mlpack-1.0.x: Revert accidental commit. (fa9101b)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:46:59 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 fa9101b0946792a6c9be0595e61b587997ddcaa5
Author: Ryan Curtin <ryan at ratml.org>
Date: Sat Apr 19 05:02:05 2014 +0000
Revert accidental commit.
>---------------------------------------------------------------
fa9101b0946792a6c9be0595e61b587997ddcaa5
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 );
}
More information about the mlpack-git
mailing list