Online learning
Unlike a frozen prior, it reacts to real-time shifts in contention, load, or workload shape. The built-in heuristic, tuned on static assumptions, can't do this.
EvalApp's built-in concurrency tuner works well on clean, predictable workloads but falls flat when conditions shift or resources couple — a database racing CPU racing disk. EvalApp.Neural plugs a tiny, always-learning neural policy into EvalApp in its place. It trains on a real workload's own experience, so it adapts live as conditions change, ships warm (pre-trained on diverse scenarios), and keeps learning from every decision.
dotnet add package EvaluatedApplications.EvalApp.Neuralonline, not frozen
Unlike a frozen prior, it reacts to real-time shifts in contention, load, or workload shape. The built-in heuristic, tuned on static assumptions, can't do this.
Matches the built-in heuristic on lean, single-gate pipelines (no edge there — the optimum is obvious), but beats it by roughly 25% on EvalApp.Neural.Train's Sisyphus benchmark, a coupled DB + CPU + disk workload deliberately built to fight itself.
Add .WithNeuralTuning() to your app builder; nothing else about the pipeline changes.
one line, or process-wide
var app = Eval.App(...)
.WithResource(...)
.WithNeuralTuning()
.DefineDomain(...);Install it globally for every pipeline in the process (useful if you're running multiple):
using var _ = NeuralTuning.UseGlobally(NeuralTuning.NewModel());Or train on your own workload by pointing a shared model file at every runner — the model grows as they train:
using var _ = NeuralTuning.UseGloballyPersisted("model.bin");what you get
Ships pre-trained on diverse workloads; nothing to configure before it's useful.
Real-time adaptation to non-stationary conditions — no manual retuning needed.
A d48/L1 holographic model (HoloFormer, via AlgFormer) at roughly 0.4ms per decision.
Runs at full effect regardless of license tier — free, period.
Coordinate descent handles multi-gate coupling cleanly; deterministic under a repeated seed.
good to know
Clean single-gate CPU-bound pipelines won't see much gain — the optimum there is already obvious. Real multi-gate scenarios are where it shines.
Always learning from its own decisions. You can freeze it for reproducibility, but production paths always enable learning.
Depends on EvalApp and AlgFormer — AlgFormer ships built into the DLL, no separate install needed.
Growing the warm-start: the dogfood trainer (EvalApp.Neural.Train, not part of the NuGet package) lets you add your own workload's experience to the shipped model for future releases — dotnet run --project EvalApp.Neural.Train -- sisyphus [args...], pointed at a shared model file via the EVALAPP_NEURAL_MODEL environment variable. Compatible: .NET 8.0+, Windows/Linux. License: proprietary, same terms as every EA product.