Aleator.Algorithms
0.4.1
dotnet add package Aleator.Algorithms --version 0.4.1
NuGet\Install-Package Aleator.Algorithms -Version 0.4.1
<PackageReference Include="Aleator.Algorithms" Version="0.4.1" />
<PackageVersion Include="Aleator.Algorithms" Version="0.4.1" />
<PackageReference Include="Aleator.Algorithms" />
paket add Aleator.Algorithms --version 0.4.1
#r "nuget: Aleator.Algorithms, 0.4.1"
#:package Aleator.Algorithms@0.4.1
#addin nuget:?package=Aleator.Algorithms&version=0.4.1
#tool nuget:?package=Aleator.Algorithms&version=0.4.1
Aleator.Algorithms
Inference engines of Aleator, the C# port of the Figaro probabilistic programming library:
- Exact —
VariableElimination(+ MPE, marginal-MAP, sufficient statistics),JunctionTree(two-pass Shafer–Shenoy collect/distribute calibration for all-marginals and clique joint queries),BeliefPropagation(sum-product / max-product / Bethe evidence), lazy VE/BP with probability bounds, and the recursive structured engine (StructuredVE/StructuredBP/StructuredGibbs, hybrid cost-based choosers,LazyStructuredVEbounds). - Sampling —
Importance,LikelihoodWeighter,MetropolisHastings(pluggable proposal schemes including Robbins–Monro adaptiveNormalProposalSchemeand Neal'sSliceProposalScheme, annealer, streamingIAsyncEnumerable),GibbsSampling/BlockGibbsSampling(WalkSAT init, Markov-blanket sweeps), collapsed Gibbs, parallel samplers, anytime budgets,CancellationTokensupport and OpenTelemetry metrics. - Diagnostics, criticism & forecast evaluation — classical and rank-normalized/folded split-R̂, FFT-based Geyer
and bulk/tail ESS, MCSE,
RunChainsAsync,ModelCriticism(WAIC, PSIS-LOO with Pareto k̂, posterior predictive checks),SimulationBasedCalibration(SBC), andForecastEvaluation(Brier, log score, Murphy–Sanders decomposition, reliability diagrams, Cox slope/intercept, ROC/PR,ClusterBootstrap,SelectWithinBudget, fairCrps). - Observability — OpenTelemetry-compatible proposal/accept/draw and completed-EM-step counters,
sample-weight and completed-chain ESS histograms, plus bounded-cardinality gauges for MH acceptance rate
on the
Aleator.Samplingmeter. - Dynamic & state-space —
HiddenMarkovFilter<TState>(exact dense/sparse forward–backward, Viterbi, FFBS path sampling, Baum–Welch expected transition counts),KalmanFilter/KalmanSmoother(Joseph-form update, RTS smoother),ParticleFilter<T>(InitializeLog/StepLog, ESS-gated systematic resampling,LogMarginalLikelihood),ParticleSmoother,ParticleMarginalMetropolisHastings(PMMH), andFactoredFrontier. - Learning — EM family (
ExpectationMaximization, generalized EM,OnlineExpectationMaximization,ModelParameters+LearningAlgorithmauto-discovery). - Decisions & causality — single/multi-decision solvers with policies,
CausalModel(Do,DoGiven,Graph(),IsDSeparated,SatisfiesBackdoor,SatisfiesFrontdoor, twin-networkCounterfactual),CausalEffect, andCausalSensitivity(E-value, Cornfield–Ding–VanderWeele confounding bounds, Manski ATE bounds).
using static Aleator.Language.Alea;
using Aleator.Algorithm.Factored;
var burglary = Flip(0.01);
// ... build the DAG, observe evidence ...
using var ve = new VariableElimination(burglary);
ve.Start();
double posterior = ve.Probability(burglary, true);
Zero third-party dependencies. NativeAOT-clean (the CI publish gate enforces 0 trim/AOT warnings).
Documentation: atalib.com/docs. Runnable examples: atalib.com/examples.html.
Questions, bug reports and feedback: contact the maintainers through nuget.org. The source repository is
private, so there is no public issue tracker yet. Report a suspected vulnerability the same way, with SECURITY: at the
start of the subject, and do not disclose it publicly before it is fixed.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Aleator.Core (>= 0.4.1)
- Aleator.Library (>= 0.4.1)
- System.Numerics.Tensors (>= 10.0.15)
-
net8.0
- Aleator.Core (>= 0.4.1)
- Aleator.Library (>= 0.4.1)
- System.Diagnostics.DiagnosticSource (>= 10.0.15)
- System.Numerics.Tensors (>= 10.0.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.1 | 93 | 11/12/2026 |
| 0.3.0-preview.1 | 151 | 9/6/2026 |