- finally return normalized data

This commit is contained in:
2024-01-31 11:40:41 +01:00
parent c0445f3bf8
commit 285be92cdb
+1 -1
View File
@@ -90,7 +90,7 @@ namespace Matutils
arma::mat y = xn/(std_mat + 1e-9); arma::mat y = xn/(std_mat + 1e-9);
std::cout << "mean" << " : " << std::endl << arma::mean(y, dim) << std::endl; std::cout << "mean" << " : " << std::endl << arma::mean(y, dim) << std::endl;
std::cout << "stddev" << ": " << std::endl << arma::stddev(y, 0, dim) << std::endl; std::cout << "stddev" << ": " << std::endl << arma::stddev(y, 0, dim) << std::endl;
return prob(y); return y;
} }
inline arma::mat char2vec(char c, size_t len) inline arma::mat char2vec(char c, size_t len)