TopicModeling

committed 6d09ec5

deleted debug print in LSI

src/LSI/lsi.cc

`         if (success)`
`         {`
`             // Use singular values for LSI`
`-            std::cout << "SingularValues:\n" << S`
`-                << "\nU:\n" << U`
`-                << "\nV:\n" << V << std::endl;`
` `
`-            std::cout << "Extracting k singular values" << std::endl;`
`+            // Extracting k singular values`
`             sv_k_ = arma::diagmat(S.subvec(0, k_ - 1));`
`-            std::cout << "As diagonal: \n" << sv_k_ << std::endl;`
` `
`-            std::cout << "Reducing matrix U" << std::endl;`
`+            // Reducing matrix U with k first vectors`
`             u_k_ = U.submat(0, 0, U.n_rows - 1, k_ - 1);`
` `
`-            std::cout << "Reducing matrix V" << std::endl;`
`+            // Reducing matrix V with k first vectors`
`             v_k_ = V.submat(0, 0, V.n_rows - 1, k_ - 1);`
` `
`-            std::cout << "SVD: " << sv_k_.n_cols << " " << sv_k_.n_rows << std::endl;`
`-            std::cout << "U: " << u_k_.n_cols << " " << u_k_.n_rows << std::endl;`
`-            std::cout << "V: " << v_k_.n_cols << " " << v_k_.n_rows << std::endl;`
`-`
`+            // Reconstituting the matrix in the reduced semantic space`
`             terms_k_ = u_k_ * sv_k_ * v_k_.t();`
`         }`
`     }`
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.