Ether.WeightedSelector
1.1.0
See the version list below for details.
Requires NuGet 2.8.1 or higher.
dotnet add package Ether.WeightedSelector --version 1.1.0
NuGet\Install-Package Ether.WeightedSelector -Version 1.1.0
<PackageReference Include="Ether.WeightedSelector" Version="1.1.0" />
paket add Ether.WeightedSelector --version 1.1.0
#r "nuget: Ether.WeightedSelector, 1.1.0"
// Install Ether.WeightedSelector as a Cake Addin #addin nuget:?package=Ether.WeightedSelector&version=1.1.0 // Install Ether.WeightedSelector as a Cake Tool #tool nuget:?package=Ether.WeightedSelector&version=1.1.0
WeightedSelector.NET lets you assign weights to a set of choices, then make decisions based on each choice's proportion of the total weight.
This simple concept is useful for machine learning scenarios where choices need to be made based on dynamic factors. Great examples include suggestion engines and game AI.
In one of the examples, we implement a game AI that decides between attacking, fleeing, and casting a heal spell based on a dynamic "fear" factor... In 9 lines of code.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Ether.WeightedSelector:
Repository | Stars |
---|---|
ptedeschi/NFT.net
An engine developed with .NET Core to generate NFT's through a graphical interface. Simple as that, in the best Grab & Go style.
|