Class ILNaiveBayes.TILNaiveBayes

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 16: Line 16:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''type''' TILNaiveBayes = '''class'''( [[Class ILBasicClassifier.TILTrainableBasicClassifier|TILTrainableBasicClassifier]] )
+
'''type''' TILNaiveBayes = '''class'''( [[Class ILBasicClassifier.TILTrainableBasicClassifier|TILTrainableBasicClassifier, TILNaiveBayesResult]] )
 
</code>
 
</code>
 
=== C++ Builder: ===
 
=== C++ Builder: ===
Line 35: Line 35:
 
== Description ==
 
== Description ==
 
Defines Naive Bayesian classifier.
 
Defines Naive Bayesian classifier.
 +
 +
 +
 +
<b>Diagram:</b>
 +
 +
[[Image:ILNaiveBayes_Preview.png]]
  
  
Line 47: Line 53:
 
*[[Method procedure ILNaiveBayes.TILNaiveBayes.Clear()|procedure Clear()]] - Clears the training of the classifier.  
 
*[[Method procedure ILNaiveBayes.TILNaiveBayes.Clear()|procedure Clear()]] - Clears the training of the classifier.  
 
*[[Method procedure ILNaiveBayes.TILNaiveBayes.Train(ISLRealBufferArray;ISLRealBuffer;Boolean)|procedure Train(ATraingFeatures : ISLRealBufferArray; AResposes : ISLRealBuffer; AUpdate : Boolean)]]
 
*[[Method procedure ILNaiveBayes.TILNaiveBayes.Train(ISLRealBufferArray;ISLRealBuffer;Boolean)|procedure Train(ATraingFeatures : ISLRealBufferArray; AResposes : ISLRealBuffer; AUpdate : Boolean)]]
*[[Method procedure ILNaiveBayes.TILNaiveBayes.Predict(ISLRealBuffer)|procedure Predict(AFeatures : ISLRealBuffer)]] - Gets a prediction from the classifier.
 
  
 
== Pins ==
 
== Pins ==
Line 61: Line 66:
 
=== Public ===
 
=== Public ===
 
*[[Method procedure ILBasicClassifier.TILTrainableBasicClassifier.Train(IILTrainingDataArray;Boolean)|procedure Train(AData : IILTrainingDataArray; AUpdate : Boolean)]] - Trains the classifier.  
 
*[[Method procedure ILBasicClassifier.TILTrainableBasicClassifier.Train(IILTrainingDataArray;Boolean)|procedure Train(AData : IILTrainingDataArray; AUpdate : Boolean)]] - Trains the classifier.  
*[[Method procedure ILBasicClassifier.TILTrainableBasicClassifier.Train(array;array;Boolean)|procedure Train(ATraingFeatures : array; AResposes : array; AUpdate : Boolean)]]
+
*[[Method procedure ILBasicClassifier.TILTrainableBasicClassifier.Train(ISLRealBuffer;Real;Boolean)|procedure Train(ATraingFeatures : ISLRealBuffer; AResposes : Real; AUpdate : Boolean)]]
 
*[[Method procedure ILBasicClassifier.TILTrainableBasicClassifier.Train(ISLRealBufferArray;ISLRealBuffer;Boolean)|procedure Train(ATraingFeatures : ISLRealBufferArray; AResposes : ISLRealBuffer; AUpdate : Boolean)]] - Trains the classifier.  
 
*[[Method procedure ILBasicClassifier.TILTrainableBasicClassifier.Train(ISLRealBufferArray;ISLRealBuffer;Boolean)|procedure Train(ATraingFeatures : ISLRealBufferArray; AResposes : ISLRealBuffer; AUpdate : Boolean)]] - Trains the classifier.  
  
Line 71: Line 76:
 
== Pins ==
 
== Pins ==
 
*[[Pin ILBasicClassifier.TILBasicClassifier.ClassOutputPin|ClassOutputPin]] - The class Output Pin of the classifier.  
 
*[[Pin ILBasicClassifier.TILBasicClassifier.ClassOutputPin|ClassOutputPin]] - The class Output Pin of the classifier.  
 +
 +
== From [[Class ILBasicClassifier.TILSimpleBasicClassifierTemplate|TILSimpleBasicClassifierTemplate]] ==
 +
 +
== Properties ==
 +
 +
=== Published ===
 +
*[[Property ILBasicClassifier.TILSimpleBasicClassifierTemplate.SynchronizeType|SynchronizeType]] - Specifies the type of thread buffer synchronization.
 +
*[[Property ILBasicClassifier.TILSimpleBasicClassifierTemplate.Threading|Threading]] - Specifies the desired threading settings for the filtering.
 +
 +
== Methods ==
 +
 +
=== Public ===
 +
*[[Method procedure ILBasicClassifier.TILSimpleBasicClassifierTemplate.Predict(ISLRealBuffer)|procedure Predict(AFeatures : ISLRealBuffer)]] - Gets a prediction from the classifier.
 +
 +
== Pins ==
 +
*[[Pin ILBasicClassifier.TILSimpleBasicClassifierTemplate.InputPin|InputPin]] - The features input pin of the component.
  
 
== From [[Class ILBasicClassifier.TILSimpleBasicClassifier|TILSimpleBasicClassifier]] ==
 
== From [[Class ILBasicClassifier.TILSimpleBasicClassifier|TILSimpleBasicClassifier]] ==
Line 86: Line 107:
 
*[[Method procedure ILBasicClassifier.TILSimpleBasicClassifier.SaveToStream(TStream)|procedure SaveToStream(AStream : TStream)]] - Saves the training to a stream.  
 
*[[Method procedure ILBasicClassifier.TILSimpleBasicClassifier.SaveToStream(TStream)|procedure SaveToStream(AStream : TStream)]] - Saves the training to a stream.  
 
*[[Method procedure ILBasicClassifier.TILSimpleBasicClassifier.LoadFromStream(TStream)|procedure LoadFromStream(AStream : TStream)]] - Loads the training from a stream.  
 
*[[Method procedure ILBasicClassifier.TILSimpleBasicClassifier.LoadFromStream(TStream)|procedure LoadFromStream(AStream : TStream)]] - Loads the training from a stream.  
 
== Pins ==
 
*[[Pin ILBasicClassifier.TILSimpleBasicClassifier.InputPin|InputPin]] - The features input pin of the component.
 
  
 
[[Category:Components]][[Category:Classes]]
 
[[Category:Components]][[Category:Classes]]

Revision as of 20:30, 10 June 2013

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

BIGILNaiveBayes.gif ILNaiveBayes.gif NETILNaiveBayes.gif

Package: IntelligenceLabPkg

Unit: ILNaiveBayes

Inherits: TILTrainableBasicClassifier

Contents

Syntax

Delphi:

type TILNaiveBayes = class( TILTrainableBasicClassifier, TILNaiveBayesResult )

C++ Builder:

class TILNaiveBayes : public TILTrainableBasicClassifier

Visual C++ (MFC):

class CTILNaiveBayes : public CTILTrainableBasicClassifier

C# (.NET):

public ref class TILNaiveBayes : Mitov.IntelligenceLab.TrainableBasicClassifier

Summary

Naive Bayesian classifier.

Description

Defines Naive Bayesian classifier.


Diagram:

ILNaiveBayes Preview.png


Example:

ILNaiveBayesDemo.png

Methods

Public

Pins

Events

From TILTrainableBasicClassifier

Methods

Public

Pins

From TILBasicClassifier

Pins

From TILSimpleBasicClassifierTemplate

Properties

Published

Methods

Public

Pins

From TILSimpleBasicClassifier

Properties

Published

Methods

Public

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox