22template<
typename AReal>
30 for (
size_t i = 0; i <
m; i++) {
31 for (
size_t j = 0; j <
n; j++) {
32 AReal sig = 1.0 / (1.0 +
std::exp(-
A(i,j)));
38template<
typename AReal>
46 for (
size_t i = 0; i <
m; i++) {
48 for (
size_t j = 0; j <
n; j++) {
51 for (
size_t j = 0; j <
n; j++) {
static void Softmax(TMatrixT< AReal > &YHat, const TMatrixT< AReal > &)
static void Sigmoid(TMatrixT< AReal > &B)
create variable transformations
static long int sum(long int i)