IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ipsdk::math::clustering::KMeansClusteringConfig Class Reference

Public Member Functions

ipUInt32 getNbAttempts () const
 retrieve number of attempts for K-Means algorithm More...
 
void setNbAttempts (const ipUInt32 nbAttempts)
 set number of attempts for K-Means algorithm More...
 
ipUInt32 getNbMaxIteration () const
 
void setNbMaxIteration (const ipUInt32 nbMaxIteration)
 set maximum number of K-Means algorithm iterations for an attempt More...
 
Constructors and destructor
 KMeansClusteringConfig ()
 
 ~KMeansClusteringConfig ()
 

Static Public Member Functions

static ipUInt32 getDefaultNbAttempts ()
 
static ipUInt32 getDefaultMaxIteration ()
 

Protected Attributes

ipUInt32 _nbAttempts
 number of attempts for K-Means algorithm More...
 
ipUInt32 _nbMaxIteration
 

Member Function Documentation

◆ getDefaultNbAttempts()

static ipUInt32 ipsdk::math::clustering::KMeansClusteringConfig::getDefaultNbAttempts ( )
inlinestatic

function allowing to retrieve default number of attempts for K-Means algorithm

◆ getNbAttempts()

ipUInt32 ipsdk::math::clustering::KMeansClusteringConfig::getNbAttempts ( ) const

retrieve number of attempts for K-Means algorithm

Each attempt is associated to a different initialization using K-Means++ algorithm.

◆ setNbAttempts()

void ipsdk::math::clustering::KMeansClusteringConfig::setNbAttempts ( const ipUInt32  nbAttempts)

set number of attempts for K-Means algorithm

Each attempt is associated to a different initialization using K-Means++ algorithm.

Exceptions
ipsdk::math::IPSDKMathExceptionif nbAttempts == 0

◆ getDefaultMaxIteration()

static ipUInt32 ipsdk::math::clustering::KMeansClusteringConfig::getDefaultMaxIteration ( )
inlinestatic

function allowing to retrieve default maximum number of K-Means algorithm iterations for an attempt

◆ getNbMaxIteration()

ipUInt32 ipsdk::math::clustering::KMeansClusteringConfig::getNbMaxIteration ( ) const

retrieve maximum number of K-Means algorithm iterations for an attempt

◆ setNbMaxIteration()

void ipsdk::math::clustering::KMeansClusteringConfig::setNbMaxIteration ( const ipUInt32  nbMaxIteration)

set maximum number of K-Means algorithm iterations for an attempt

Exceptions
ipsdk::math::IPSDKMathExceptionif nbMaxIteration == 0

Member Data Documentation

◆ _nbAttempts

ipUInt32 ipsdk::math::clustering::KMeansClusteringConfig::_nbAttempts
protected

number of attempts for K-Means algorithm

Each attempt is associated to a different initialization using K-Means++ algorithm.

◆ _nbMaxIteration

ipUInt32 ipsdk::math::clustering::KMeansClusteringConfig::_nbMaxIteration
protected

maximum number of K-Means algorithm iterations for an attempt


The documentation for this class was generated from the following file: