Class ILNaiveBayes.TILNaiveBayes
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(2 intermediate revisions by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' NaiveBayes : [[Class ILBasicClassifier.TILTrainableBasicClassifier|Mitov.IntelligenceLab.TrainableBasicClassifier]] |
</code> | </code> | ||
== Summary == | == Summary == |
Latest revision as of 00:32, 26 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.
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 NaiveBayes : Mitov.IntelligenceLab.TrainableBasicClassifier
Summary
Naive Bayesian classifier.
Description
Defines Naive Bayesian classifier.
Diagram:
Example:
Methods
Public
- procedure Clear() - Clears the training of the classifier.
- procedure Train(ATraingFeatures : ISLRealBufferArray; AResposes : ISLRealBuffer; AUpdate : Boolean)
Pins
- OutputPin - The features data output pin for the classifier.
Events
- OnResult - On prediction result event.
From TILTrainableBasicClassifier
Methods
Public
- procedure Train(AData : IILTrainingDataArray; AUpdate : Boolean) - Trains the classifier.
- procedure Train(ATraingFeatures : ISLRealBuffer; AResposes : Real; AUpdate : Boolean)
- procedure Train(ATraingFeatures : ISLRealBufferArray; AResposes : ISLRealBuffer; AUpdate : Boolean) - Trains the classifier.
Pins
- TrainingInputPin - The training input pin of the component.
From TILBasicClassifier
Pins
- ClassOutputPin - The class Output Pin of the classifier.
From TILSimpleBasicClassifierTemplate
Properties
Published
- SynchronizeType - Specifies the type of thread buffer synchronization.
- Threading - Specifies the desired threading settings for the filtering.
Methods
Public
- procedure Predict(AFeatures : ISLRealBuffer) - Gets a prediction from the classifier.
Pins
- InputPin - The features input pin of the component.
From TILSimpleBasicClassifier
Properties
Published
- SaveTraining - Specifies if the training data should be saved in the project.
Methods
Public
- procedure SaveToFile(AFileName : String) - Saves the training to a file.
- procedure LoadFromFile(AFileName : String) - Loads the training from a file.
- procedure SaveToStream(AStream : TStream) - Saves the training to a stream.
- procedure LoadFromStream(AStream : TStream) - Loads the training from a stream.