PigeonsExamples - Targets collection
Setup instructions
To setup PigeonsExamples:
julia
using InferenceTargets, Pkg
package_spec = InferenceTargets.registry[:PigeonsExamples]
Pkg.add(package_spec)
using PigeonsExamples Resolving package versions...
No Changes to `~/work/InferenceTargets/InferenceTargets/docs/Project.toml`
No Changes to `~/work/InferenceTargets/InferenceTargets/docs/Manifest.toml`Repository information
julia
package_specPackageSpec(
url = https://github.com/Julia-Tempering/PigeonsExamples
rev = a54b2f2da9dde5658b07bc9e00826d9f9ac900e2
version = *
)Usage
To access the list of targetIds available in PigeonsExamples:
julia
ids = find_targetIds(PigeonsExamples)
length(ids)4To load one target:
julia
some_id = ids[1]
load_target(PigeonsExamples, some_id)PigeonsExamples.IsingLogPotential(1.0, 5)Summary
julia
using Markdown, PrettyTables
success, errored = InferenceTargets.summary_table(PigeonsExamples)Successfully loaded targets
julia
pretty_table(HTML, success; backend = Val(:html), show_subheader=false)| targetId | type |
|---|---|
| ising | PigeonsExamples.IsingLogPotential |
| iid_normal_1000 | Pigeons.ScaledPrecisionNormalPath |
| iid_normal_10 | Pigeons.ScaledPrecisionNormalPath |
| unid_model | PigeonsExamples.MyLogPotential |
Errored targets
julia
pretty_table(HTML, errored; backend = Val(:html), show_subheader=false)