SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
EvaluationResult.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  * Copyright (C) 2012 Jacob Walker
00008  */
00009 
00010 #ifndef CEVALUATIONRESULT_H_
00011 #define CEVALUATIONRESULT_H_
00012 
00013 #include <shogun/base/SGObject.h>
00014 
00015 namespace shogun
00016 {
00017 
00021 enum EEvaluationResultType
00022 {
00023     CROSSVALIDATION_RESULT=0,
00024     GRADIENTEVALUATION_RESULT=1
00025 };
00026 
00030 class CEvaluationResult : public CSGObject
00031 {
00032 public:
00034     CEvaluationResult() : CSGObject() { }
00035 
00036     virtual ~CEvaluationResult() { }
00037 
00044     virtual EEvaluationResultType get_result_type() const=0;
00045 
00047     virtual void print_result()=0;
00048 };
00049 }
00050 #endif /* CEVALUATIONRESULT_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation