Skip to content

Commit ae8e3ca

Browse files
authored
Add oneexpy to pipeline (#480)
1 parent 5cd5040 commit ae8e3ca

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pipeline/src/EpiAwarePipeline.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ using CSV, Dagger, DataFramesMeta, Dates, Distributions, DocStringExtensions, Dr
1515
LogExpFunctions, RCall, LinearAlgebra, Random, AlgebraOfGraphics, CairoMakie,
1616
ReverseDiff
1717

18+
using EpiAware.EpiInfModels: oneexpy
19+
1820
# Exported pipeline types
1921
export AbstractEpiAwarePipeline, EpiAwarePipeline, AbstractRtwithoutRenewalPipeline,
2022
RtwithoutRenewalPriorPipeline, EpiAwareExamplePipeline, SmoothOutbreakPipeline,

pipeline/src/infer/InferenceConfig.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ struct InferenceConfig{T, F, IGP, L, O, E, D <: Distribution, X <: Integer}
3535
latent_model_name::String
3636
priorpredictive::Bool
3737

38-
function InferenceConfig(igp, latent_model, observation_model; gi_mean, gi_std,
39-
case_data, truth_I_t, truth_I0, tspan, epimethod,
40-
transformation = exp, log_I0_prior, lookahead, latent_model_name, priorpredictive)
38+
function InferenceConfig(
39+
igp, latent_model, observation_model; gi_mean, gi_std, case_data,
40+
truth_I_t, truth_I0, tspan, epimethod, transformation = oneexpy,
41+
log_I0_prior, lookahead, latent_model_name, priorpredictive)
4142
new{typeof(gi_mean), typeof(transformation), typeof(igp),
4243
typeof(latent_model), typeof(observation_model),
4344
typeof(epimethod), typeof(log_I0_prior), typeof(lookahead)}(

0 commit comments

Comments
 (0)