NAME

set_kmeans_max_iterations - Changes the setting of the maximum number of iterations.

SYNOPSIS

#include "lsm/lsm_cluster.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int set_kmeans_max_iterations(const int new_max_num_iterations);

DESCRIPTION

The k-means algorithm iterates until no cluster coordinate values change by more than the epsilon value, or this maximum number of iterations is reached, whichever is first.

RETURNS

NO_ERROR on success, ERROR on failure.

RELATED

get_kmeans_max_iterations, set_kmeans_epsilon, get_kmeans_epsilon, set_kmeans_options, get_kmeans_clusters, free_kmeans_allocated_static_data.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Lindsay Martin

DOCUMENTER

Lindsay Martin

SEE ALSO

set_clustering_options , get_kmeans_max_iterations , set_kmeans_epsilon , get_kmeans_epsilon , get_kmeans_clusters , set_3D_histogram_num_bins , get_3D_histogram_num_bins , get_3D_histogram_clusters