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)