diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-03-18 14:04:47 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-03-18 14:04:47 +0300 |
| commit | 063b20be98747ba0b288545e653ef9489bf14a54 (patch) | |
| tree | b655758d2361dda0c6ffd35d6add6c5ea0f5aba4 /include/spiral.h | |
| parent | c9583c9897120cea7357ebc78b621aac0440da2c (diff) | |
Replace DynMLP with DynNet
Diffstat (limited to 'include/spiral.h')
| -rw-r--r-- | include/spiral.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/spiral.h b/include/spiral.h index 5ed315e..2b8e3ea 100644 --- a/include/spiral.h +++ b/include/spiral.h @@ -1,7 +1,6 @@ #pragma once -#include "utils.h" -#include "dynmlp.h" +#include "dynnet.h" typedef struct { double **z0; @@ -12,6 +11,6 @@ typedef struct { Dataset generate_spiral_dataset(int num_samples, double t0, double t1, double noise_std, RNG *r); void dataset_free(Dataset *ds); -double evaluate(const DynMLP *net, const double *theta, +double evaluate(DynNet *net, const double *theta, const Dataset *ds, double t0, double t1, double atol, double rtol); |