CatagoricalCrossentrophy
Sync public mirror / sync (push) Successful in 27s

Fixed the loss functions for categories and is ready for accuracy calculation on page 129
This commit is contained in:
2025-10-07 13:09:25 +02:00
parent 8e70310760
commit 66b3a4ee6b
34 changed files with 754 additions and 260 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include "./utils/vector.h"
namespace numerics{
template <typename T>
utils::Vector<T> vecexp(const utils::Vector<T>& a){
utils::Vector<T> b = a;
for (uint64_t i = 0; i < a.size(); ++i){
b[i] = numerics::exp(a[i]);
}
return b;
}
} // namespace numerics