Skip to content

Commit

Permalink
target redifinition
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeRZP committed Jan 15, 2024
1 parent 870d9a7 commit 49ca4e7
Showing 1 changed file with 26 additions and 28 deletions.
54 changes: 26 additions & 28 deletions src/MicroCanonicalHMC.jl
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
module MicroCanonicalHMC

export Settings, MCHMC, Sample
export Summarize
export TuringTarget, GaussianTarget, RosenbrockTarget, CustomTarget
export ParallelTarget

using LinearAlgebra, Statistics, Random, DataFrames
using DynamicPPL, LogDensityProblemsAD, LogDensityProblems, ForwardDiff
using AbstractMCMC, MCMCChains, MCMCDiagnosticTools, Distributed
using Distributions, DistributionsAD, ProgressMeter

abstract type Target <: AbstractMCMC.AbstractModel end

include("hamiltonian.jl")
include("targets.jl")
include("sampler.jl")
include("integrators.jl")
include("tuning.jl")
include("abstractmcmc.jl")

include("ensemble/targets.jl")
include("ensemble/sampler.jl")
include("ensemble/integrators.jl")
include("ensemble/tuning.jl")
include("ensemble/abstractmcmc.jl")

end
module MicroCanonicalHMC

export Settings, MCHMC, Sample
export Summarize
export TuringTarget, GaussianTarget, RosenbrockTarget, CustomTarget
export ParallelTarget

using LinearAlgebra, Statistics, Random, DataFrames
using DynamicPPL, LogDensityProblemsAD, LogDensityProblems, ForwardDiff
using AbstractMCMC, MCMCChains, MCMCDiagnosticTools, Distributed
using Distributions, DistributionsAD, ProgressMeter

include("hamiltonian.jl")
include("targets.jl")
include("sampler.jl")
include("integrators.jl")
include("tuning.jl")
include("abstractmcmc.jl")

include("ensemble/targets.jl")
include("ensemble/sampler.jl")
include("ensemble/integrators.jl")
include("ensemble/tuning.jl")
include("ensemble/abstractmcmc.jl")

end

0 comments on commit 49ca4e7

Please sign in to comment.