CSPSolutions.AI.NeuralNetworks
1.0.0
dotnet add package CSPSolutions.AI.NeuralNetworks --version 1.0.0
NuGet\Install-Package CSPSolutions.AI.NeuralNetworks -Version 1.0.0
<PackageReference Include="CSPSolutions.AI.NeuralNetworks" Version="1.0.0" />
paket add CSPSolutions.AI.NeuralNetworks --version 1.0.0
#r "nuget: CSPSolutions.AI.NeuralNetworks, 1.0.0"
// Install CSPSolutions.AI.NeuralNetworks as a Cake Addin
#addin nuget:?package=CSPSolutions.AI.NeuralNetworks&version=1.0.0
// Install CSPSolutions.AI.NeuralNetworks as a Cake Tool
#tool nuget:?package=CSPSolutions.AI.NeuralNetworks&version=1.0.0
README.md for .NET NuGet Package with CSPSolution Neural Network Functions
Introduction
This .NET NuGet package provides a set of Neural Network functions for CSPSolution. The package includes both ANN (Artificial Neural Network) and SOM (Self-Organizing Map) Neural Network functions. These functions can be used to build complex machine learning models for various applications.
Installation
The package can be installed using the NuGet Package Manager in Visual Studio. Simply search for "CSPSolution.NeuralNetwork" and install the package. Alternatively, you can install the package using the Package Manager Console with the following command:
Install-Package CSPSolution.NeuralNetwork
Usage
To use the Neural Network functions in your project, simply add a reference to the CSPSolution.NeuralNetwork namespace and create an instance of the desired Neural Network class. For example, to create an instance of the ANN class, use the following code:
using CSPSolution.NeuralNetwork;
// Create an instance of the ANN class
ANN ann = new ANN();
Once you have created an instance of the Neural Network class, you can use its methods to train and test your model. For example, to train an ANN model with a set of input and output data, use the Train method:
// Define the input and output data
double[][] input = new double[][]
{
new double[] { 0, 0 },
new double[] { 0, 1 },
new double[] { 1, 0 },
new double[] { 1, 1 }
};
double[][] output = new double[][]
{
new double[] { 0 },
new double[] { 1 },
new double[] { 1 },
new double[] { 0 }
};
// Train the ANN model
ann.Train(input, output);
Similarly, to test an ANN model with a set of input data, use the Compute method:
// Define the input data
double[] input = new double[] { 0, 1 };
// Compute the output for the input data
double[] output = ann.Compute(input);
For more information on how to use the Neural Network functions in this package, please refer to the documentation.
Documentation
The documentation for this package can be found in the "docs" folder of the NuGet package. It includes detailed information on how to use each of the Neural Network functions in this package, as well as example code snippets.
License
This package is licensed under the MIT License. For more information, please refer to the LICENSE file included in the NuGet package.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.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 |
---|---|---|
1.0.0 | 146 | 7/11/2023 |