CVB.Net 15.0
Loading...
Searching...
No Matches
SampleTestResultFactory Class Reference

Factory object for running a sample test in which all the elements of a training database are classified with a given classifier. More...

Inherits TestResultFactory.

Public Member Functions

ClassificationTestResult RunTest (ClassificationPredictor clf, SampleDatabase.SampleClassificationImageList database)
 Perform a sample classification test (SIL test) on a sample image list.
 
RegressionTestResult RunTest (RegressionPredictor clf, SampleDatabase.SampleRegressionImageList database)
 Perform a sample regression test (SIL test) on a sample image list.
 
ClassificationTestResult RunTest (ClassificationPredictor clf, TrainingSet database)
 Perform a sample classification test (SIL test) on a Minos training set.
 

Additional Inherited Members

- Protected Member Functions inherited from TestResultFactory
 TestResultFactory ()
 ctor (internal).
 
virtual void OnStartProgressReport (int id, string caption, int stepsTotal)
 Event raiser.
 
virtual void OnProgressReport (int id, ref bool retval)
 Event raiser.
 
virtual void OnEndProgressReport (int id)
 Event raiser.
 
- Events inherited from TestResultFactory
EventHandler< StartProgressReportEventArgsStartProgressReport
 Event that will be fired when a new progress stage was initiated.
 
EventHandler< ProgressReportEventArgsProgressReport
 Event that informs about a progress step in the given stage.
 
EventHandler< EndProgressReportEventArgsEndProgressReport
 Event that informs about the finalization of a given stage.
 

Detailed Description

Factory object for running a sample test in which all the elements of a training database are classified with a given classifier.

Member Function Documentation

◆ RunTest() [1/3]

ClassificationTestResult RunTest ( ClassificationPredictor clf,
SampleDatabase.SampleClassificationImageList database )

Perform a sample classification test (SIL test) on a sample image list.

Parameters
clfClassifier to test.
databaseDatabase to test the classifier on.
Returns
Test result.

◆ RunTest() [2/3]

Perform a sample classification test (SIL test) on a Minos training set.

Parameters
clfClassifier to test.
databaseDatabase to test the classifier on.
Returns
Test result.

◆ RunTest() [3/3]

RegressionTestResult RunTest ( RegressionPredictor clf,
SampleDatabase.SampleRegressionImageList database )

Perform a sample regression test (SIL test) on a sample image list.

Parameters
clfClassifier to test.
databaseDatabase to test the classifier on.
Returns
Test result.