CrossValidationSplitting.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) 2012 Heiko Strathmann
00008  * Copyright (C) 2012 Berlin Institute of Technology and Max-Planck-Society
00009  */
00010 
00011 #ifndef __CROSSVALIDATIONSPLITTING_H_
00012 #define __CROSSVALIDATIONSPLITTING_H_
00013 
00014 #include <shogun/evaluation/SplittingStrategy.h>
00015 
00016 namespace shogun
00017 {
00018 
00019 class CLabels;
00020 
00025 class CCrossValidationSplitting: public CSplittingStrategy
00026 {
00027 public:
00029     CCrossValidationSplitting();
00030 
00036     CCrossValidationSplitting(CLabels* labels, index_t num_subsets);
00037 
00039     virtual const char* get_name() const
00040     {
00041         return "CrossValidationSplitting";
00042     }
00043 
00045     virtual void build_subsets();
00046 };
00047 }
00048 
00049 #endif /* __CROSSVALIDATIONSPLITTING_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation