CVBpy 15.0
Loading...
Searching...
No Matches
SampleList Class Reference

Base class for sample lists. More...

Inherited by SampleImageList.

Public Member Functions

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

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.