BrightWire 4.0.0

dotnet add package BrightWire --version 4.0.0                
NuGet\Install-Package BrightWire -Version 4.0.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="BrightWire" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BrightWire --version 4.0.0                
#r "nuget: BrightWire, 4.0.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 BrightWire as a Cake Addin
#addin nuget:?package=BrightWire&version=4.0.0

// Install BrightWire as a Cake Tool
#tool nuget:?package=BrightWire&version=4.0.0                

image

Bright Wire is an extensible machine learning library for .NET with optional MKL and GPU support (via CUDA).

Getting Started

Bright Wire is a .net 8 class library.

The previous .net 4.6 version can be found here: https://github.com/jdermody/brightwire-v2

Bright Wire runs "out of the box" with its own vectorised linear algebra library.

If you have a NVIDIA GPU then you can also use GPU based computation. You will need to install NVIDIA CUDA Toolkit 12 (and have a Kepler or better NVIDIA GPU).

To enable higher performance CPU based computation on Intel hardware, Bright Wire also supports the Intel Math Kernel Library (MKL).

Tutorials

Nuget Installation

To install the cpu version (no CUDA support) use:

Install-Package BrightWire

To add MKL support use:

Install-Package BrightWire
Install-Package BrightData.MKL

To add CUDA support use:

Install-Package BrightWire
Install-Package BrightData.Cuda

Features

Neural Networks

  • Feed Forward, Convolutional, Bidirectional and Sequence to Sequence (seq2seq) network architectures
  • LSTM, GRU, Simple, Elman and Jordan recurrent neural networks
  • L2, Dropout and DropConnect regularisation
  • Relu, LeakyRelu, Sigmoid, Tanh and SoftMax activation functions
  • Gaussian, Xavier and Identity weight initialisation
  • Cross Entropy, Quadratic and Binary cost functions
  • Momentum, NesterovMomentum, Adagrad, RMSprop and Adam gradient descent optimisations

Bayesian

  • Naive Bayes
  • Multinomial Bayes
  • Multivariate Bernoulli
  • Markov Models

Unsupervised

  • K Means clustering
  • Hierarchical clustering
  • Non Negative Matrix Factorisation
  • Random Projection

Tree Based

  • Decision Trees
  • Random Forest

Ensemble Methods

  • Stacking

Other

  • K Nearest Neighbour classification
  • In-memory and file based data processing
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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BrightWire:

Package Downloads
BrightWire.CUDA.x64

This is the .net standard 2 version of BrightWire.CUDA which adds CUDA support to Bright Wire. This lets you run Bright Wire machine learning on a Maxwell or better NVIDIA GPU (x64 only).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 134 5/19/2024
4.0.0-rc 139 5/16/2023
3.0.3 599 11/12/2021
3.0.2 366 10/17/2021
3.0.1 379 6/8/2021
3.0.0 392 3/22/2021
3.0.0-beta 240 2/20/2021
2.1.1 2,116 2/23/2019
2.1.0 1,067 9/30/2018
2.0.6 1,041 7/27/2018
2.0.5 1,079 1/4/2018
2.0.4 1,004 9/23/2017
2.0.3 1,058 8/18/2017

performance refactor