Aleator.Algorithms
0.3.0-preview.1
This is a prerelease version of Aleator.Algorithms.
dotnet add package Aleator.Algorithms --version 0.3.0-preview.1
NuGet\Install-Package Aleator.Algorithms -Version 0.3.0-preview.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.3.0-preview.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aleator.Algorithms" Version="0.3.0-preview.1" />
<PackageReference Include="Aleator.Algorithms" />
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.3.0-preview.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aleator.Algorithms, 0.3.0-preview.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.3.0-preview.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.3.0-preview.1&prerelease
#tool nuget:?package=Aleator.Algorithms&version=0.3.0-preview.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Aleator.Algorithms
Inference engines of Aleator, the .NET 10 / C# port of the Figaro probabilistic programming library:
- Exact —
VariableElimination(+ MPE, marginal-MAP, sufficient statistics),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, annealer, streamingIAsyncEnumerable),GibbsSampling/BlockGibbsSampling(WalkSAT init, Markov-blanket sweeps), collapsed Gibbs, parallel samplers, anytime budgets,CancellationTokensupport and OpenTelemetry metrics. - Diagnostics — classical split-R̂, FFT-based Geyer ESS, immutable multi-chain summaries and a reproducible generator-per-chain Metropolis–Hastings runner.
- 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 —
ParticleFilter(log-weights, ESS-gated systematic resampling),FactoredFrontier. - Learning — EM family (
ExpectationMaximization, generalized EM,ModelParameters+LearningAlgorithmauto-discovery). - Decisions & causality — single/multi-decision solvers with policies,
CausalModel(do-operator, back-door/front-door, twin-network counterfactuals).
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).
Docs and 137 runnable examples: github.com/deecalov/Aleator.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Aleator.Core (>= 0.3.0-preview.1)
- Aleator.Library (>= 0.3.0-preview.1)
- System.Numerics.Tensors (>= 10.0.9)
-
net8.0
- Aleator.Core (>= 0.3.0-preview.1)
- Aleator.Library (>= 0.3.0-preview.1)
- System.Diagnostics.DiagnosticSource (>= 10.0.11)
- System.Numerics.Tensors (>= 10.0.9)
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.3.0-preview.1 | 73 | 9/6/2026 |