VowpalWabbit 9.11.2

This package has a SemVer 2.0.0 package version: 9.11.2+122bae254.
dotnet add package VowpalWabbit --version 9.11.2
                    
NuGet\Install-Package VowpalWabbit -Version 9.11.2
                    
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="VowpalWabbit" Version="9.11.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VowpalWabbit" Version="9.11.2" />
                    
Directory.Packages.props
<PackageReference Include="VowpalWabbit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VowpalWabbit --version 9.11.2
                    
#r "nuget: VowpalWabbit, 9.11.2"
                    
#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.
#:package VowpalWabbit@9.11.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VowpalWabbit&version=9.11.2
                    
Install as a Cake Addin
#tool nuget:?package=VowpalWabbit&version=9.11.2
                    
Install as a Cake Tool

Vowpal Wabbit

Vowpal Wabbit is an open-source machine learning library with a focus on online learning, contextual bandits, and reinforcement learning.

Installation

dotnet add package VowpalWabbit

Platform Support

Runtime Package Platform
VowpalWabbit.runtime.win-x64 Windows x64
VowpalWabbit.runtime.linux-x64 Linux x64
VowpalWabbit.runtime.osx-x64 macOS x64
VowpalWabbit.runtime.osx-arm64 macOS Apple Silicon

All runtime packages are pulled in automatically when you install the main VowpalWabbit package.

Quick Start

Basic Regression

using VW;

using (var vw = new VowpalWabbit("--quiet"))
{
    vw.Learn("1 | feature1 feature2");
    vw.Learn("0 | feature3 feature4");

    var prediction = vw.Predict("| feature1 feature2");
}

Contextual Bandits (CB ADF)

using VW;

using (var vw = new VowpalWabbit("--cb_explore_adf --quiet"))
{
    var example = @"shared | user_age:25
        | action1 sport
        | action2 politics
        | action3 music";

    vw.Learn(example);
    var prediction = vw.Predict(example);
}

Save and Load Models

using (var vw = new VowpalWabbit("--quiet"))
{
    // ... train ...
    vw.SaveModel("model.vw");
}

using (var vw = new VowpalWabbit("--quiet -i model.vw"))
{
    var prediction = vw.Predict("| feature1 feature2");
}

Documentation

License

BSD-3-Clause

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on VowpalWabbit:

Package Downloads
VowpalWabbit.JSON

Official Vowpal Wabbit library including C# interface.

VowpalWabbit.Parallel

Official Vowpal Wabbit library including C# interface.

Microsoft.Research.MultiWorldTesting.ClientLibrary

Official Multiworld Testing Client Library including C# interface

VowpalWabbit.Azure

Official Vowpal Wabbit library including C# interface

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.11.2 0 3/4/2026
9.9.0 4,957 7/19/2023
9.8.0 277 3/15/2023
9.6.0 287 11/10/2022
9.5.0 252 10/14/2022
9.4.0 165 10/10/2022
9.3.0 1,996 8/10/2022
9.2.0 1,251 7/13/2022
9.1.0 1,435 4/6/2022
9.0.1 1,543 4/6/2022
8.11.0 6,568 7/15/2021
8.10.2 1,228 6/11/2021
8.10.0 1,446 4/1/2021
8.9.2 1,239 3/15/2021
8.9.0 2,029 11/12/2020
8.7.0 6,856 7/15/2019
8.4.0.3 48,190 1/23/2018
8.4.0.2 2,900 11/21/2017
8.4.0.1 5,675 10/17/2017
8.4.0 8,980 7/21/2017
Loading failed