C# 클래스 OpenCvSharp.ML.NormalBayesClassifier

Bayes classifier for normally distributed data
상속: StatModel
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
Create ( ) : NormalBayesClassifier

Creates empty model. Use StatModel::train to train the model after creation.

PredictProb ( InputArray inputs, OutputArray outputs, OutputArray outputProbs, int flags ) : float

Predicts the response for sample(s).

The method estimates the most probable classes for input vectors. Input vectors (one or more) are stored as rows of the matrix inputs. In case of multiple input vectors, there should be one output vector outputs. The predicted class for a single input vector is returned by the method. The vector outputProbs contains the output probabilities corresponding to each element of result.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

NormalBayesClassifier ( IntPtr p ) : System

Creates instance by raw pointer cv::ml::NormalBayesClassifier*

메소드 상세

Create() 공개 정적인 메소드

Creates empty model. Use StatModel::train to train the model after creation.
public static Create ( ) : NormalBayesClassifier
리턴 NormalBayesClassifier

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. ///
리턴 void

NormalBayesClassifier() 보호된 메소드

Creates instance by raw pointer cv::ml::NormalBayesClassifier*
protected NormalBayesClassifier ( IntPtr p ) : System
p System.IntPtr
리턴 System

PredictProb() 공개 메소드

Predicts the response for sample(s).
The method estimates the most probable classes for input vectors. Input vectors (one or more) are stored as rows of the matrix inputs. In case of multiple input vectors, there should be one output vector outputs. The predicted class for a single input vector is returned by the method. The vector outputProbs contains the output probabilities corresponding to each element of result.
public PredictProb ( InputArray inputs, OutputArray outputs, OutputArray outputProbs, int flags ) : float
inputs InputArray
outputs OutputArray
outputProbs OutputArray
flags int
리턴 float