C# Класс numl.Supervised.NaiveBayes.NaiveBayesGenerator

A naive bayes generator.
Наследование: Generator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Generate ( Matrix X, Vector y ) : IModel

Generate model based on a set of examples.

NaiveBayesGenerator ( int width ) : System

Constructor.

Приватные методы

Метод Описание
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

Описание методов

Generate() публичный Метод

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.
Результат IModel

NaiveBayesGenerator() публичный Метод

Constructor.
public NaiveBayesGenerator ( int width ) : System
width int The width.
Результат System