C# Class numl.Supervised.Perceptron.PerceptronGenerator

A perceptron generator.
Inheritance: Generator
Show file Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Generate ( Matrix X, Vector y ) : IModel

Generate model based on a set of examples.

PerceptronGenerator ( ) : System

Default constructor.

PerceptronGenerator ( bool normalize ) : System

Constructor.

Method Details

Generate() public method

Generate model based on a set of examples.
public Generate ( Matrix X, Vector y ) : IModel
X Matrix The Matrix to process.
y numl.Math.LinearAlgebra.Vector The Vector to process.
return IModel

PerceptronGenerator() public method

Default constructor.
public PerceptronGenerator ( ) : System
return System

PerceptronGenerator() public method

Constructor.
public PerceptronGenerator ( bool normalize ) : System
normalize bool true to normalize.
return System