ilabcode / pyhgf

PyHGF: A neural network library for predictive coding
https://ilabcode.github.io/pyhgf/
GNU General Public License v3.0
53 stars 17 forks source link

sample parameters from response functions #170

Closed LegrandNico closed 7 months ago

LegrandNico commented 7 months ago

This PR adds the possibility to sample parameters defined in the response functions (e.g. the inverse temperature of the sigmoid). This required distinguishing between response_function_inputs and response_function_parameters.

This will help with #163 and close #77.

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.24%. Comparing base (c8c7dbd) to head (3071416). Report is 55 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #170 +/- ## ========================================== - Coverage 95.96% 93.24% -2.73% ========================================== Files 10 17 +7 Lines 893 859 -34 ========================================== - Hits 857 801 -56 - Misses 36 58 +22 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.