Pooshit.Ai
0.6.2-preview
dotnet add package Pooshit.Ai --version 0.6.2-preview
NuGet\Install-Package Pooshit.Ai -Version 0.6.2-preview
<PackageReference Include="Pooshit.Ai" Version="0.6.2-preview" />
paket add Pooshit.Ai --version 0.6.2-preview
#r "nuget: Pooshit.Ai, 0.6.2-preview"
// Install Pooshit.Ai as a Cake Addin #addin nuget:?package=Pooshit.Ai&version=0.6.2-preview&prerelease // Install Pooshit.Ai as a Cake Tool #tool nuget:?package=Pooshit.Ai&version=0.6.2-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.2-preview | 27 | 11/30/2024 |
0.6.1-preview | 45 | 11/28/2024 |
0.6.0-preview | 376 | 11/3/2024 |
0.5.5-preview | 44 | 11/3/2024 |
0.5.4-preview | 44 | 11/3/2024 |
0.5.3-preview | 95 | 10/13/2024 |