-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support non-Gaussian
ConvNP
likelihoods in low-level and high-level…
… prediction interfaces (#97) This new `deepsensor` feature enables non-Gaussian features in high-level xarray/pandas predictions: * Rename `model.stddev` to `model.std` (but keep `.stddev` for back-comp) * Remove `noiseless` `ConvNP.sample` kwarg, only noiseless for GNP * Add `N_mixture_component` model class arg * Add `"spikes-beta"` likelihood methods in `ConvNP` * Anticipate `neuralprocesses` Bernoulli-Gamma likelihood * Add `pred_params` kwarg to `model.predict` dictating which model methods are called * Unit tests for non-Gaussian likelihoods * Fix tests * Fix `model.logpdf` for `"spikes-beta"` likelihood * Rename `model.beta_dist_alpha` to `model.alpha` for generality (and same for `.beta_dist_beta`) * Fix missing bracket in API * Fix return type * Test non-Gaussian pred_params in high-level predict * Add off-grid non-Gaussian unit test
- Loading branch information
1 parent
16b8c04
commit 642f5ab
Showing
7 changed files
with
488 additions
and
149 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
Oops, something went wrong.