SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
KMeansLloydImpl.h
Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of the GNU General Public License as published by
00004  * the Free Software Foundation; either version 3 of the License, or
00005  * (at your option) any later version.
00006  *
00007  * Written (W) 2014 Parijat Mazumdar
00008  */
00009 
00010 #ifndef _LKMEANS_H__
00011 #define _LKMEANS_H__
00012 
00013 #include <stdio.h>
00014 #include <shogun/lib/common.h>
00015 #include <shogun/io/SGIO.h>
00016 #include <shogun/distance/Distance.h>
00017 #include <shogun/machine/DistanceMachine.h>
00018 
00019 namespace shogun
00020 {
00021 class CKMeansLloydImpl
00022 {
00023     public: 
00034         static void Lloyd_KMeans(int32_t k, CDistance* distance, int32_t max_iter, SGMatrix<float64_t> mus, 
00035             SGVector<int32_t> ClList, SGVector<float64_t> weights_set, bool fixed_centers);
00036 };
00037 }
00038 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation