20 template<
typename AReal>
28 for (
size_t i = 0; i <
m; i++) {
29 for (
size_t j = 0; j <
n; j++) {
30 AReal sig = 1.0 / (1.0 +
std::exp(-
A(i,j)));
36 template<
typename AReal>
44 for (
size_t i = 0; i <
m; i++) {
46 for (
size_t j = 0; j <
n; j++) {
49 for (
size_t j = 0; j <
n; j++) {
static long int sum(long int i)
static void Sigmoid(TMatrixT< AReal > &B)
static void Softmax(TMatrixT< AReal > &YHat, const TMatrixT< AReal > &)
Abstract ClassifierFactory template that handles arbitrary types.