- finally return normalized data
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user