SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
invCov.h
浏览该文件的文档.
1 /* This program is free software: you can redistribute it and/or modify
2  * it under the terms of the GNU General Public License as published by
3  * the Free Software Foundation, either version 3 of the License, or
4  * (at your option) any later version.
5  *
6  * This program is distributed in the hope that it will be useful,
7  * but WITHOUT ANY WARRANTY; without even the implied warranty of
8  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9  * GNU General Public License for more details.
10  *
11  * You should have received a copy of the GNU General Public License
12  * along with this program. If not, see <http://www.gnu.org/licenses/>.
13  *
14  * Copyright (C) 2009 - 2012 Jun Liu and Jieping Ye
15  */
16 
17 #ifndef INVCOV_SLEP
18 #define INVCOV_SLEP
19 
20 #include <shogun/lib/config.h>
21 
22 /*
23  * A: n x n
24  * x: n x 1
25  * Ax: n x 1
26  *
27  * Perform the task of Ax= A* x,
28  * where the ith row and column in A, and ith row in x
29  * are undefined, so that in Ax, the ith row has no meaning
30  */
31 void m_Ax(double *Ax, double *A, double *x, int n, int ith);
32 
33 int lassoCD(double *Theta, double *W, double *S, double lambda, int n,
34  int ith, int flag, int maxIter, double fGap, double xGap);
35 
36 void invCov(double *Theta, double *W, double *S, double lambda,
37  double sum_S, int n,
38  int LassoMaxIter, double fGap,
39  double xGap, /*for the Lasso (inner iteration)*/
40  int maxIter, double xtol); /*for the outer iteration*/
41 
42 #endif /* ----- #ifndef INVCOV_SLEP ----- */
void m_Ax(double *Ax, double *A, double *x, int n, int ith)
Definition: invCov.cpp:23
void invCov(double *Theta, double *W, double *S, double lambda, double sum_S, int n, int LassoMaxIter, double fGap, double xGap, int maxIter, double xtol)
Definition: invCov.cpp:171
int lassoCD(double *Theta, double *W, double *S, double lambda, int n, int ith, int flag, int maxIter, double fGap, double xGap)
Definition: invCov.cpp:41

SHOGUN 机器学习工具包 - 项目文档