BrabeNetz 1.4.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BrabeNetz --version 1.4.5
NuGet\Install-Package BrabeNetz -Version 1.4.5
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="BrabeNetz" Version="1.4.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BrabeNetz --version 1.4.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BrabeNetz, 1.4.5"
#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 BrabeNetz as a Cake Addin #addin nuget:?package=BrabeNetz&version=1.4.5 // Install BrabeNetz as a Cake Tool #tool nuget:?package=BrabeNetz&version=1.4.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BrabeNetz
🌐 A fast and clean supervised neural network in C++, capable of effectively using multiple cores 🧠
Usage
Build & link library
Constructors
network(initializer_list<int>, properties)
: Create a new neural network with the given topology vector and properties and fill it with random numbers ({ 2, 3, 4, 1}
= 2 Input, 3 Hidden, 4 Hidden, 1 Output Neurons - total of 4 layers)network(network_topology&, properties)
: Create a new neural network with the given network topology and load_ it's valuesnetwork(string, properties)
: Create a new neural network with the given path to thesate.nn
file and load it
Functions
double* feed(double[] input_values)
: Feed the networkinput_values
and return an array of output values (where the array's length is the size of the output layer in topology)double* train(double[] input_values, double[] expected_output, double& out_total_error)
: Feed the networkinput_values
and backwards-propagate to adjust the weights/biases and reduce error. Returns the output layer's values,out_total_error
will be set to the total error of the output layer (This can be used to check if more training is needed)void save(string path)
: Save the current network state (topology, weights, biases) to disk (with the given path or default:state.nn
)void set_learnrate(double value)
: Set the learn rate of the network (used bytrain(..)
function). Should either be a constant (0.5
) or1 / (total train times + 1)
network_topology& build_topology()
: Build and set the network topology object of the current network's state (Can be used for network visualization or similar)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has 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.
Performance improvements, Code cleanup, Properties parameters