Pooshit.Ai
0.6.6-preview
See the version list below for details.
dotnet add package Pooshit.Ai --version 0.6.6-preview
NuGet\Install-Package Pooshit.Ai -Version 0.6.6-preview
<PackageReference Include="Pooshit.Ai" Version="0.6.6-preview" />
paket add Pooshit.Ai --version 0.6.6-preview
#r "nuget: Pooshit.Ai, 0.6.6-preview"
// Install Pooshit.Ai as a Cake Addin #addin nuget:?package=Pooshit.Ai&version=0.6.6-preview&prerelease // Install Pooshit.Ai as a Cake Tool #tool nuget:?package=Pooshit.Ai&version=0.6.6-preview&prerelease
This is a preview package and is expected to make breaking changes like every other release. It is not extremely optimized and likely to be outperformed by any other implementation of a neuronal net.
Pooshit.Ai
With this package you can build and train neuronal nets.
DynamicBO
The best working implementation in this package currently is the DynamicBO net which features a self growing net which trains by mutating its elements and generating new neurons from time to time.
Usage
The most basic case to use a DynamicBONet would be to create one manually.
DynamicBONet net=new(new(["x"], ["y"]))
This would create a net with one input neuron "x" and an output neuron "y". While this is a working neuronal net it doesn't do anything meaningful as there are no connections in it.
To have a working neuronal net you first need to train a configuration.
Training
Training is done by a population which hopefully evolves to contain a working configuration at some point.
Population<DynamicBOConfiguration> population = new(100, rng => new(["x"], ["y"], rng));
Then a setup is needed which contains the training samples used to train the configurations.
EvolutionSetup<DynamicBinOpConfiguration> setup = new() {
Evaluator = new SamplesEvaluator<DynamicBOConfiguration, DynamicBONet>([...]),
Runs = 5000,
Threads = 2
};
The Evaluator property needs to be an evaluation logic which measures the deviation of model results to the expected values. The evaluator above needs to be filled with samples which are then used in training.
When the setup is created with samples the population can be trained with
```cs
PopulationEntry<DynamicBOConfiguration> result=population.Train(setup);
The population returns the best configuration based on the training set after the number of runs are completed or a threshold is reached. This configuration can be used to feed a neuronal net and compute values.
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. |
-
net8.0
- No dependencies.
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.6.13-preview | 104 | 12/20/2024 |
0.6.12-preview | 130 | 12/15/2024 |
0.6.11-preview | 66 | 12/8/2024 |
0.6.10-preview | 47 | 12/8/2024 |
0.6.9-preview | 56 | 12/8/2024 |
0.6.8-preview | 54 | 12/7/2024 |
0.6.7-preview | 46 | 12/6/2024 |
0.6.6-preview | 48 | 12/6/2024 |
0.6.5-preview | 72 | 12/3/2024 |
0.6.4-preview | 61 | 12/2/2024 |
0.6.3-preview | 41 | 12/2/2024 |
0.6.2-preview | 46 | 11/30/2024 |
0.6.1-preview | 56 | 11/28/2024 |
0.6.0-preview | 383 | 11/3/2024 |
0.5.5-preview | 49 | 11/3/2024 |
0.5.4-preview | 53 | 11/3/2024 |
0.5.3-preview | 100 | 10/13/2024 |