Skip to content

Commit

Permalink
Merge branch 'glm_class_restructure' of github.com:flatironinstitute/…
Browse files Browse the repository at this point in the history
…generalized-linear-models into glm_class_restructure
  • Loading branch information
BalzaniEdoardo committed Oct 31, 2023
2 parents 0f7d67b + bbe8213 commit 293172f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/neurostatslib/noise_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,14 @@ def emission_probability(
Returns
-------
jnp.ndarray
Random numbers generated from the desired distribution based on the `predicted_rate` scale parameter
if needed.
:
Random numbers generated from the noise model with `predicted_rate`.
"""
pass

@abc.abstractmethod
def residual_deviance(self, predicted_rate: jnp.ndarray, spike_counts: jnp.ndarray):
r"""Compute the residual deviance for a Poisson model.
r"""Compute the residual deviance for the noise model.
Parameters
----------
Expand Down

0 comments on commit 293172f

Please sign in to comment.