ARCHIVE
Snapshot of
the Shogun machine learning toolbox website
as of
2013
: preserved, not maintained. The live site:
shogun-toolbox.org
SHOGUN
4.1.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
evaluation
EvaluationResult.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Copyright (C) 2012 Jacob Walker
8
*/
9
10
#ifndef CEVALUATIONRESULT_H_
11
#define CEVALUATIONRESULT_H_
12
13
#include <
shogun/lib/config.h
>
14
15
#include <
shogun/base/SGObject.h
>
16
17
namespace
shogun
18
{
19
23
enum
EEvaluationResultType
24
{
25
CROSSVALIDATION_RESULT
=0,
26
GRADIENTEVALUATION_RESULT
=1
27
};
28
32
class
CEvaluationResult
:
public
CSGObject
33
{
34
public
:
36
CEvaluationResult
() :
CSGObject
() { }
37
38
virtual
~CEvaluationResult
() { }
39
46
virtual
EEvaluationResultType
get_result_type
()
const
=0;
47
49
virtual
void
print_result
()=0;
50
};
51
}
52
#endif
/* CEVALUATIONRESULT_H_ */
SGObject.h
shogun::CEvaluationResult::CEvaluationResult
CEvaluationResult()
Definition:
EvaluationResult.h:36
config.h
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:112
shogun::EEvaluationResultType
EEvaluationResultType
Definition:
EvaluationResult.h:23
shogun::CEvaluationResult
Abstract class that contains the result generated by the MachineEvaluation class. ...
Definition:
EvaluationResult.h:32
shogun::GRADIENTEVALUATION_RESULT
Definition:
EvaluationResult.h:26
shogun::CROSSVALIDATION_RESULT
Definition:
EvaluationResult.h:25
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::CEvaluationResult::print_result
virtual void print_result()=0
shogun::CEvaluationResult::get_result_type
virtual EEvaluationResultType get_result_type() const =0
shogun::CEvaluationResult::~CEvaluationResult
virtual ~CEvaluationResult()
Definition:
EvaluationResult.h:38
SHOGUN
Machine Learning Toolbox - Documentation