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

Factory object for holdout tests. More...

Inherits TestResultFactory.

Public Member Functions

ClassificationTestResult RunTest (int holdoutSize, ClassificationType usage, SampleDatabase.SampleClassificationImageList database)
 Perform a hold out test on a sample database.
 
RegressionTestResult RunTest (int holdoutSize, SampleDatabase.SampleRegressionImageList database)
 Perform a hold out test on a sample database.
 
ClassificationTestResult RunTest (int holdoutSize, ClassificationType usage, TrainingSet database)
 Perform a hold out test on a sample database.
 

Properties

InterpolationType Interpolation [get, set]
 Interpolation setting to be used for generating this object. Using interpolation will generate less artifacts, but requires more processor time.
 
double Lambda [get, set]
 Regularization value to be used for generating the object. Possible values range from 0 to 10, good starting values for experiments are usually around 0.01.
 
string Preprocessing [get, set]
 Preprocessing code with which the object is to be generated.
 
int FeatureResolution [get, set]
 Feature resolution (determines the size of the classification retina.
 

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 holdout tests.

Member Function Documentation

◆ RunTest() [1/3]

ClassificationTestResult RunTest ( int holdoutSize,
ClassificationType usage,
SampleDatabase.SampleClassificationImageList database )

Perform a hold out test on a sample database.

Parameters
holdoutSizeHoldout bag size (lower values will take significantly longer to calculate, but will yield a more fine- grained result).
usageClassification mode.
databaseSample database to test.
Returns
Test result.

◆ RunTest() [2/3]

ClassificationTestResult RunTest ( int holdoutSize,
ClassificationType usage,
TrainingSet database )

Perform a hold out test on a sample database.

Parameters
holdoutSizeHoldout bag size (lower values will take significantly longer to calculate, but will yield a more fine- grained result).
usageClassification mode.
databaseSample database to test.
Returns
Test result.

◆ RunTest() [3/3]

RegressionTestResult RunTest ( int holdoutSize,
SampleDatabase.SampleRegressionImageList database )

Perform a hold out test on a sample database.

Parameters
holdoutSizeHoldout bag size (lower values will take significantly longer to calculate, but will yield a more fine- grained result).
databaseSample database to test.
Returns
Test result.