SHOGUN  v3.2.0
所有成员列表 | Public 成员函数 | Public 属性
MappedSparseMatrix类 参考

详细描述

mapped sparse matrix for representing graph relations of tasks

在文件 LibLinearMTL.h35 行定义.

Public 成员函数

const float64_t operator() (index_t i_row, index_t i_col) const
 
void set_from_sparse (const SGSparseMatrix< float64_t > &sgm)
 

Public 属性

std::vector< std::map< index_t, float64_t > > data
 

成员函数说明

const float64_t operator() ( index_t  i_row,
index_t  i_col 
) const

operator overload for matrix read only access

参数
i_row
i_col

在文件 LibLinearMTL.h44 行定义.

void set_from_sparse ( const SGSparseMatrix< float64_t > &  sgm)

set matrix from SGSparseMatrix

参数
sgm

在文件 LibLinearMTL.h62 行定义.

类成员变量说明

std::vector< std::map<index_t, float64_t> > data

under-the-hood data structure

在文件 LibLinearMTL.h84 行定义.


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation