Ether.WeightedSelector NuGet Package

WeightedSelector.NET lets you assign weights to a set of choices, then make intelligent 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 6 lines of code. Free to use under MIT License.




Got any Ether.WeightedSelector Question?





Info

Version: 1.2.0
Author(s): Brian MacKay
Last Update: Thursday, April 11, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/kinetiq/Ether.WeightedSelector
NuGet Url: https://www.nuget.org/packages/Ether.WeightedSelector


Install
Install-Package Ether.WeightedSelector
dotnet add package Ether.WeightedSelector
paket add Ether.WeightedSelector
Ether.WeightedSelector Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

6

days-since-last-release

2086