-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add canonical models and Pearson residuals (#77)
* add canonical link function to binomial distribution and pearson residual function * pre-compute hessian from gprior in the post_init stage * add get_params function in the models.utils * add canonical binomial model and create_binomial_model function * add canonical gaussian model * add canonical poisson model * add __all__ to models.__init__ * add pearson residual for three main models * remove get_lin_param and directly use the one from param * add class attributes to model constructor
- Loading branch information
Showing
9 changed files
with
455 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.