baccuslab / pyret

Python tools for analysis of neurophysiology data
https://pyret.readthedocs.io/en/master/
MIT License
35 stars 8 forks source link

RBF nonlinearity #94

Closed nirum closed 7 years ago

nirum commented 7 years ago

Adds the ability to fit RBF (radial basis function) nonlinearities. Each nonlinearity is parameterized by a number (n_bases) of gaussian basis functions, tiled to cover the input space.

Example of fitting RBF nonlinearities to data drawn from a sigmoidal nonlinearity with different values for n_bases: image

codecov-io commented 7 years ago

Codecov Report

Merging #94 into master will increase coverage by 0.15%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   95.88%   96.03%   +0.15%     
==========================================
  Files           8        8              
  Lines         534      555      +21     
==========================================
+ Hits          512      533      +21     
  Misses         22       22
Impacted Files Coverage Δ
pyret/nonlinearities.py 100% <100%> (ø) :arrow_up:
pyret/metadata.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b30adf6...c1ea689. Read the comment docs.