BrabeNetz 1.5.0
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.5.0
NuGet\Install-Package BrabeNetz -Version 1.5.0
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.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BrabeNetz --version 1.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BrabeNetz, 1.5.0"
#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.5.0 // Install BrabeNetz as a Cake Tool #tool nuget:?package=BrabeNetz&version=1.5.0
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
Choose your interface
brabe_netz.h
: [Recommended] A wrapper for the rawnetwork.h
interface, but with error handling and modern C++ interface styling such asstd::vector
s,std::exception
s, etc.network.h
: The rawnetwork
with C-style arrays and no bound/error checking. Only use this if performance is important.
Constructors
(initializer_list<int>, properties)
: Construct a new neural network with the given network size (e.g.{ 2, 3, 4, 1 }
) and randomize all base weights and biases - ref(network_topology&, properties)
: Construct a new neural network with the given network topology and import it's existing weights and biases - ref(string, properties)
: Construct a new neural network with and load the neural network state from the file specified inproperties.state_file
- ref
Functions
network_result brabe_netz::feed(std::vector<double>& input_values)
: Feed the network input values and forward propagate through all neurons to estimate a possible output (Use thenetwork_result
structure (ref) to access the result of the forward propagation, such as.values
to view the output) - refdouble network_result::adjust(std::vector<double>& expected_output)
: Backwards propagate through the whole network to adjust wrong neurons for result trimming and return the total network error - refvoid save(string path)
: Save the network's state to disk by serializing weightsvoid set_learnrate(double value)
: Set the network's learning rate. It is good practice and generally recommended to use one divided by the train count, so the learn rate decreases the more often you train - refnetwork_topology& build_topology()
: Build and set the network topology object of the current network's state (can be used for network visualization or similar) - ref
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