diff options
| author | Your Name <[email protected]> | 2026-08-12 12:21:01 -0700 |
|---|---|---|
| committer | Your Name <[email protected]> | 2026-08-12 12:21:01 -0700 |
| commit | 43c2a6f3f9cc442eb9c0e69157d11348c80d4149 (patch) | |
| tree | 90d8798b16beff4733c0fdc7deb817854586e1a9 /src/benchmark.h | |
| parent | 9286b2dd9bd198d40017ca18a74f5d0449d4c0c4 (diff) | |
Cleaned up main loop
Setting up for a public api
Diffstat (limited to 'src/benchmark.h')
| -rw-r--r-- | src/benchmark.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/benchmark.h b/src/benchmark.h index cd79d50..4da73d7 100644 --- a/src/benchmark.h +++ b/src/benchmark.h @@ -13,15 +13,17 @@ typedef struct { int run_benchmark(const spires_reservoir_config *config, spires_reservoir *reservoir, - Reservoir_State_Matrix *state_matrix, - const double *target_outputs, const char *model_path, - const char *subcircuit_name); + Reservoir_State_Matrix *state_matrix, const char *model_path, + const char *subcircuit_name, double *predictions_out); + +double calculate_MSE(const double *expected, const double *predicted, + const size_t num_steps, const size_t num_outputs); int plot_raster(const Reservoir_State_Matrix *matrix, size_t neurons_to_plot, double spike_threshold); int plot_reservoir_predictions(const double *expected, const double *predicted, size_t num_samples, size_t num_outputs, - size_t output_to_plot); + size_t output_to_plot, const char *model_path); #endif |
