SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | Public 类型 | 静态 Public 成员函数
squared_error< Backend::EIGEN3, Matrix > 模板结构体 参考

详细描述

template<class Matrix>
struct shogun::linalg::implementation::special_purpose::squared_error< Backend::EIGEN3, Matrix >

Specialization of squared_error for the Eigen3 backend

在文件 implementation/SpecialPurpose.h557 行定义.

Public 类型

typedef Matrix::Scalar T
 
typedef Eigen::Matrix< T,
Eigen::Dynamic, Eigen::Dynamic > 
MatrixXt
 

静态 Public 成员函数

static T compute (SGMatrix< T > P, SGMatrix< T > Q)
 

成员类型定义说明

typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt

Eigen matrix type

在文件 implementation/SpecialPurpose.h563 行定义.

typedef Matrix::Scalar T

Scalar type

在文件 implementation/SpecialPurpose.h560 行定义.

成员函数说明

static T compute ( SGMatrix< T P,
SGMatrix< T Q 
)
static

Returns the squared error between P and Q. The squared error is defined as \( E(P,Q) = \frac{1}{2} \sum_{ij} (P[i,j]-Q[i,j])^2 \)

在文件 implementation/SpecialPurpose.h568 行定义.


该结构体的文档由以下文件生成:

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