From 838007800a2e1ebec5bd83bbacec2e96406c52ca Mon Sep 17 00:00:00 2001 From: AYESDIE <34449856+AYESDIE@users.noreply.github.com> Date: Wed, 31 Oct 2018 18:23:02 +0530 Subject: [PATCH] Small Fix --- src/mlpack/methods/cf/cf_main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mlpack/methods/cf/cf_main.cpp b/src/mlpack/methods/cf/cf_main.cpp index d5b613138e..8d9b989973 100644 --- a/src/mlpack/methods/cf/cf_main.cpp +++ b/src/mlpack/methods/cf/cf_main.cpp @@ -165,7 +165,7 @@ void ComputeRecommendations(CFModel* cf, if (CLI::HasParam("query")) { // User matrix. arma::Mat users = - std::move(CLI::GetParam>("query")); + std::move(CLI::GetParam>("query")); if (users.n_rows > 1) users = users.t(); if (users.n_rows > 1) @@ -249,8 +249,6 @@ template void ComputeRMSE(CFModel* cf) { - const string interpolationAlgorithm = CLI::GetParam("interpolation"); - // Now, compute each test point. arma::mat testData = std::move(CLI::GetParam("test")); @@ -300,7 +298,6 @@ void ComputeRMSE(CFModel* cf) { ComputeRMSE(cf); } - } void ComputeRMSE(CFModel* cf) @@ -325,7 +322,6 @@ void ComputeRMSE(CFModel* cf) { ComputeRMSE(cf); } - } void PerformAction(CFModel* c)