CVBpy 14.0
All Classes Namespaces Functions Variables Properties Pages
SampleList Class Reference

Base class for sample lists. More...

Inherits object.

Inherited by SampleImageList.

Public Member Functions

None save (self, str file_name)
 Save the sample list to a file. More...
 

Properties

 average_sample_count = property
 float: Average number samples in per class of the sample list.
 
 comment = property
 str: The comment text.
 
 file_name = property
 str: Name of the file from which this image list was loaded (empty string if this image list was neither loaded nor saved since its construction).
 
 max_sample_count = property
 int: Number samples in the largest class of the sample list.
 
 min_sample_count = property
 int: Number samples in the smallest class of the sample list.
 
 num_classes = property
 int: Number of distinguishable classes in the sample list.
 
 num_samples = property
 int: Total number of samples in the sample list.
 

Detailed Description

Base class for sample lists.

Member Function Documentation

◆ save()

None save (   self,
str  file_name 
)

Save the sample list to a file.

Parameters

file_name : str Path to save to.