Aleator.Algorithms 0.5.1

dotnet add package Aleator.Algorithms --version 0.5.1
                    
NuGet\Install-Package Aleator.Algorithms -Version 0.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aleator.Algorithms" Version="0.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aleator.Algorithms" Version="0.5.1" />
                    
Directory.Packages.props
<PackageReference Include="Aleator.Algorithms" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aleator.Algorithms --version 0.5.1
                    
#r "nuget: Aleator.Algorithms, 0.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aleator.Algorithms@0.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aleator.Algorithms&version=0.5.1
                    
Install as a Cake Addin
#tool nuget:?package=Aleator.Algorithms&version=0.5.1
                    
Install as a Cake Tool

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, LazyStructuredVE bounds).
  • Sampling — Importance, LikelihoodWeighter, MetropolisHastings (pluggable proposal schemes including Robbins–Monro adaptive NormalProposalScheme and Neal's SliceProposalScheme, annealer, streaming IAsyncEnumerable), GibbsSampling / BlockGibbsSampling (WalkSAT init, Markov-blanket sweeps), collapsed Gibbs, parallel samplers, anytime budgets, CancellationToken support 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), and ForecastEvaluation (Brier, log score, Murphy–Sanders decomposition, reliability diagrams, Cox slope/intercept, ROC/PR, ClusterBootstrap, SelectWithinBudget, fair Crps).
  • 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.Sampling meter.
  • 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), and FactoredFrontier.
  • Learning — EM family (ExpectationMaximization, generalized EM, OnlineExpectationMaximization, ModelParameters + LearningAlgorithm auto-discovery).
  • Decisions & causality — single/multi-decision solvers with policies, CausalModel (Do, DoGiven, Graph(), IsDSeparated, SatisfiesBackdoor, SatisfiesFrontdoor, twin-network Counterfactual), CausalEffect, and CausalSensitivity (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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.5.1 57 11/21/2026
0.4.1 108 11/12/2026
0.3.0-preview.1 151 9/6/2026