SHOGUN
v3.2.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
statistics
MMDKernelSelectionOpt.h
浏览该文件的文档.
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
* Written (W) 2012-2013 Heiko Strathmann
8
*/
9
10
#ifndef __MMDKERNELSELECTIONOPTSINGLE_H_
11
#define __MMDKERNELSELECTIONOPTSINGLE_H_
12
13
#include <
shogun/statistics/MMDKernelSelection.h
>
14
15
namespace
shogun
16
{
17
18
class
CLinearTimeMMD;
19
36
class
CMMDKernelSelectionOpt
:
public
CMMDKernelSelection
37
{
38
public
:
39
41
CMMDKernelSelectionOpt
();
42
50
CMMDKernelSelectionOpt
(
CKernelTwoSampleTestStatistic
* mmd,
51
float64_t
lambda=10E-5);
52
54
virtual
~CMMDKernelSelectionOpt
();
55
63
virtual
SGVector<float64_t>
compute_measures
();
64
66
const
char
*
get_name
()
const
{
return
"MMDKernelSelectionOpt"
; }
67
68
private
:
70
void
init();
71
72
protected
:
75
float64_t
m_lambda
;
76
};
77
78
}
79
80
#endif
/* __MMDKERNELSELECTIONOPTSINGLE_H_ */
shogun::CMMDKernelSelectionOpt::get_name
const char * get_name() const
Definition:
MMDKernelSelectionOpt.h:66
shogun::CMMDKernelSelectionOpt
Implements optimal kernel selection for single kernels. Given a number of baseline kernels...
Definition:
MMDKernelSelectionOpt.h:36
shogun::CMMDKernelSelectionOpt::compute_measures
virtual SGVector< float64_t > compute_measures()
Definition:
MMDKernelSelectionOpt.cpp:40
shogun::CMMDKernelSelection
Base class for kernel selection for MMD-based two-sample test statistic implementations (e...
Definition:
MMDKernelSelection.h:34
MMDKernelSelection.h
float64_t
double float64_t
Definition:
common.h:48
shogun::SGVector< float64_t >
shogun::CKernelTwoSampleTestStatistic
Two sample test base class. Provides an interface for performing a two-sample test, i.e. Given samples from two distributions and , the null-hypothesis is: , the alternative hypothesis: .
Definition:
KernelTwoSampleTestStatistic.h:34
shogun::CMMDKernelSelectionOpt::~CMMDKernelSelectionOpt
virtual ~CMMDKernelSelectionOpt()
Definition:
MMDKernelSelectionOpt.cpp:36
shogun::CMMDKernelSelectionOpt::m_lambda
float64_t m_lambda
Definition:
MMDKernelSelectionOpt.h:75
shogun::CMMDKernelSelectionOpt::CMMDKernelSelectionOpt
CMMDKernelSelectionOpt()
Definition:
MMDKernelSelectionOpt.cpp:16
SHOGUN
Machine Learning Toolbox - Documentation