C# 클래스 numl.Supervised.NaiveBayes.NaiveBayesGenerator

A naive bayes generator.
상속: Generator
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

메소드 설명
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