Base class for sample lists. Sample lists can serve two
different purposes: Classification or Regression. For each case, a
separate derived class has been implemented
(SampleClassificationImageList and
SampleRegressionImageList), while this class contains those
elements that are common to both types of classifier.
Inheritance Hierarchy
Stemmer.Cvb.SampleDatabaseSampleList
Stemmer.Cvb.SampleDatabaseSampleImageList
Namespace: Stemmer.Cvb.SampleDatabase
Assembly: Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax
The SampleList type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AverageSampleCount |
Average number samples in per class of the sample list.
| |
| Comment |
Classifier comment text.
| |
| CreationDate |
Date on which the SampleList was created.
| |
| FileName |
Name of the file from which this image list was loaded (string.Empty
if this image list was neither loaded nor saved since its
construction).
| |
| Handle |
Native Manto2 classifier handle.
| |
| IsDisposed |
Tests if the native handle has already been disposed.
| |
| LabelType |
Type of the labels used by this SampleList.
| |
| MaxSampleCount |
Number samples in the largest class of the sample list.
| |
| MinSampleCount |
Number samples in the smallest class of the sample list.
| |
| ModificationDate |
Date on which the SampleList was last modified.
| |
| NumClasses |
Number of distinguishable classes in the sample list.
| |
| NumSamples |
Total number of samples in the sample list.
| |
| SampleType |
Type of the samples used by this SampleList.
|
Methods
| Name | Description | |
|---|---|---|
| ContainsLabelTLabel |
Check if the sample list contains a given label...
| |
| Dispose |
Dispose method that releases the classifier
| |
| Dispose(Boolean) |
IDispose helper function.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Finalizer
(Overrides ObjectFinalize.) | |
| FromFile |
Load a Manto2 sample list from disc.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LabelToIndexTLabel |
Convert a class label to a class index.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveLabel |
Remove a label and all the data objects associated with it based on
its index.
| |
| Save |
Save the Manto2 sample list to a file.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
| Name | Description | |
|---|---|---|
| ObjectDisposing |
Raised when this object is about to be disposed via the
Dispose method.
|
See Also