A Minos Training Set from which a classifier can be generated.
Inheritance Hierarchy
Stemmer.Cvb.MinosTrainingSet
Namespace: Stemmer.Cvb.Minos
Assembly: Stemmer.Cvb.Minos (in Stemmer.Cvb.Minos.dll) Version: 14.0.0.0
Syntax
The TrainingSet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TrainingSet |
Create an empty training set.
| |
TrainingSet(Byte) |
Recreate a serialized Minos Training Set from a byte array.
| |
TrainingSet(String) |
Load a saved training set from a file.
| |
TrainingSet(Byte, Int32, Int32) |
Recreate a serialized Minos training set from a byte array.
|
Properties
Name | Description | |
---|---|---|
ClassCount |
The number of identifiable classes inside this training set.
| |
Comment |
Comment assigned to the training set.
| |
CorrelationThreshold |
Correlation threshold is the correlation value below which Minos will
suggest the generation of a new model rather over the generation of
a new instance of an existing model with which the new instance
correlates poorly.
| |
ExpectationRadius |
Expectation radius is the radius that is searched for the best
occurrence of a sample when adding a new sample to the training set.
| |
Extent |
Extent of the classes in the training set relative to the anchor point.
| |
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 Minos training set handle.
| |
Images |
The images contained in this training set.
| |
Instances |
The instances contained in this training set.
| |
InstancesTotal |
Total number of instances currently trained in this training set.
| |
IsDisposed |
Tests if the native handle has already been disposed.
| |
IsModified |
Get or sets a flag that informs about unsaved modifications to the
training set. Saving the training set will set this flag to false.
| |
LastFeatureWindow |
Feature window of the last model that has been created for the
training set.
| |
Models |
The models contained in this training set.
|
Methods
Name | Description | |
---|---|---|
CheckConsistency |
Test all images in the parent training set for instances of this
model that might have been forgotten during the training process.
| |
Dispose |
Dispose function to get rid of resources allocated by this object.
| |
Dispose(Boolean) |
IDispose helper function.
| |
Equals |
Check two TrainingSet objects for equality.
(Overrides ObjectEquals(Object).) | |
Finalize |
Finalizer
(Overrides ObjectFinalize.) | |
GetHashCode |
Retrieve a hash code for this object.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnImageAdded |
Event router for the ImageAdded event.
| |
OnImageRemoved |
Event router for the ImageRemoved event.
| |
OnInstanceAdded |
Event router for the InstanceAdded event.
| |
OnInstanceRemoved |
Event router for the InstanceRemoved event.
| |
OnModelAdded |
Event router for the ModelAdded event.
| |
OnModelRemoved |
Event router for the ModelRemoved event.
| |
Save |
Write the training set to a file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Transform |
Generate a new training set by transforming this training set with a
2x2 transformation matrix.
|
Events
Name | Description | |
---|---|---|
ConsistencyCheckProgress |
This event will be used for indicating progress of consistency
checks triggered by a call to CheckConsistency(Double, Double).
| |
ImageAdded |
Event that will be raised when a new image has been added to the
training set.
| |
ImageRemoved |
Event that will be raised when an image has been removed from the
training set. Note that removing an image usually also means that a
number of instances (the instances that were marked on the removed
image) have been removed as well, but the if the reason for the
removal of these instances was the removal of an image, there will
be no notification event for the implicitly removed instances.
Likewise, the removal of an image may also trigger the removal of a
model. Again, there will be no separate notification about this if the
reason was the removal of an image. This means that to be on the safe
side, it usually makes sense to update the model and instance views
as well, if an image has been removed.
| |
InstanceAdded |
Event that will be raised when a new model has been added to the
training set.
| |
InstanceRemoved |
Event that will be raised when an image has been removed from the
training set. Note that removing an image usually also means that a
number of instances (the instances that were marked on the removed
image) have been removed as well, but the if the reason for the
removal of these instances was the removal of an image, there will
be no notification event for the implicitly removed instances.
Likewise, the removal of an image may also trigger the removal of a
model. Again, there will be no separate notification about this if the
reason was the removal of an image. This means that to be on the safe
side, it usually makes sense to update the model and instance views
as well, if an image has been removed.
| |
ModelAdded |
Event that will be raised when a new model has been added to the
training set.
| |
ModelRemoved |
Event that will be raised when an image has been removed from the
training set. Note that removing an image usually also means that a
number of instances (the instances that were marked on the removed
image) have been removed as well, but the if the reason for the
removal of these instances was the removal of an image, there will
be no notification event for the implicitly removed instances.
Likewise, the removal of an image may also trigger the removal of a
model. Again, there will be no separate notification about this if the
reason was the removal of an image. This means that to be on the safe
side, it usually makes sense to update the model and instance views
as well, if an image has been removed.
| |
ObjectDisposing |
Raised when this object is about to be disposed via the
Dispose method.
|
See Also