C# Class numl.Supervised.NaiveBayes.NaiveBayesGenerator

A naive bayes generator.
Inheritance: Generator
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode Description
Generate ( Matrix X, Vector y ) : IModel

Generate model based on a set of examples.

NaiveBayesGenerator ( int width ) : System

Constructor.

Private Methods

Méthode Description
CloneMeasure ( Measure measures ) : numl.Supervised.NaiveBayes.Measure[]

Clone measure.

GetBaseConditionals ( Matrix x ) : numl.Supervised.NaiveBayes.Measure[]

Gets base conditionals.

GetLabelStats ( Vector y ) : numl.Supervised.NaiveBayes.Statistic[]

Gets label statistics.

LabelIds ( Measure m ) : void

Method Details

Generate() public méthode

Generate model based on a set of examples.
Thrown when the requested operation is invalid.
public Generate ( Matrix X, Vector y ) : IModel
X Matrix The Matrix to process.
y numl.Math.LinearAlgebra.Vector The Vector to process.
Résultat IModel

NaiveBayesGenerator() public méthode

Constructor.
public NaiveBayesGenerator ( int width ) : System
width int The width.
Résultat System