This file contains hidden or 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
from gpflow.conditionals import conditional | |
from gpflow.inducing_variables import SeparateIndependentInducingVariables | |
from gpflow.kernels import SeparateIndependent | |
#note: object 'm' is of type gpflow.models.svgp.SVGP | |
ind_conditional = conditional.dispatch( | |
object, SeparateIndependentInducingVariables, SeparateIndependent, object) | |
gmu, gvar = ind_conditional( | |
X, |
This file contains hidden or 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
""" | |
From https://twitter.com/Al_Grigor/status/1357028887209902088 | |
Most candidates cannot solve this interview problem: | |
* Input: "aaaabbbcca" | |
* Output: [("a", 4), ("b", 3), ("c", 2), ("a", 1)] | |
Write a function that converts the input to the output | |
I ask it in the screening interview and give it 25 minutes | |
How would you solve it? | |
""" |
This file contains hidden or 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
--- | |
title: "Poisson prediction interval" | |
author: "Will Townes" | |
output: html_document | |
--- | |
Poisson prediction interval based on [Kim et al 2022](https://doi.org/10.1002/wics.1568) | |
```{r} | |
n<-100 |
OlderNewer