Skip to content

Getting started

Mads Dabros edited this page Oct 4, 2017 · 6 revisions

Installing Visual Studio 2017

SharpLearning requires visual studio to build and run. You can download and install Visual Studio 2017 Community Edition from here:

Running the examples from SharpLearning.Examples

The quickest way of getting started with SharpLearning is to clone the examples repository: SharpLearning.Examples. This repository contains data and examples that shows how to use SharpLearning.

After cloning the repository open the solution file in visual studio. Browse to one of the examples using the solution explorer, place the cursor within the specific example to run and press (Ctrl R, Ctrl T) to run the example:

Including SharpLearning in a project

The recommended and easiest way of including SharpLearning in a project is to use NuGet.

Search for "SharpLearning" in the nuget package manager from visual studio, then choose the packages you want to install. There are separate packages for each of the learner/model types, so it is possible to include only SharpLearning.RandomForest if this is the only learner of interest. There is an overview and description of the individual packages in the readme