Pooshit.Ai 0.6.7-preview

This is a prerelease version of Pooshit.Ai.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Pooshit.Ai --version 0.6.7-preview                
NuGet\Install-Package Pooshit.Ai -Version 0.6.7-preview                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pooshit.Ai" Version="0.6.7-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pooshit.Ai --version 0.6.7-preview                
#r "nuget: Pooshit.Ai, 0.6.7-preview"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pooshit.Ai as a Cake Addin
#addin nuget:?package=Pooshit.Ai&version=0.6.7-preview&prerelease

// Install Pooshit.Ai as a Cake Tool
#tool nuget:?package=Pooshit.Ai&version=0.6.7-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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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 37 12/20/2024
0.6.12-preview 117 12/15/2024
0.6.11-preview 62 12/8/2024
0.6.10-preview 43 12/8/2024
0.6.9-preview 52 12/8/2024
0.6.8-preview 50 12/7/2024
0.6.7-preview 42 12/6/2024
0.6.6-preview 44 12/6/2024
0.6.5-preview 68 12/3/2024
0.6.4-preview 57 12/2/2024
0.6.3-preview 37 12/2/2024
0.6.2-preview 42 11/30/2024
0.6.1-preview 49 11/28/2024
0.6.0-preview 377 11/3/2024
0.5.5-preview 45 11/3/2024
0.5.4-preview 48 11/3/2024
0.5.3-preview 97 10/13/2024