I've created the optimizer class
This commit is contained in:
2026-08-04 18:55:30 +02:00
parent 11da534fd6
commit b52c128496
15 changed files with 1207 additions and 48 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ struct loss{
* @param y_true Vector of true label of data.
*
*/
bool calculate(
virtual bool calculate(
const panic::tensor::real_matrix& y_pred,
const panic::tensor::uint_vector& y_true);
@@ -125,7 +125,7 @@ struct loss{
* @param y_true Matrix of true label of data.
*
*/
bool calculate(
virtual bool calculate(
const panic::tensor::real_matrix& y_pred,
const panic::tensor::real_matrix& y_true);