필터 지우기
필터 지우기

DotProduct kernel for gpr

조회 수: 3 (최근 30일)
Alex Ira
Alex Ira 2018년 8월 27일
답변: Sambit Senapati 2018년 8월 31일
Hi everyone
Has anyone implemented DotProduct kernel (e.g., see http://scikit-learn.org/stable/modules/gaussian_process.html#gaussian-process) for GPR?
Cheers

답변 (1개)

Sambit Senapati
Sambit Senapati 2018년 8월 31일
MATLAB’s GPR module provides an option for passing a custom kernel through function handle. A function handle that can be called like this: Kmn = kfcn(Xm,Xn,theta)
where Xm is an m-by-d matrix, Xn is an n-by-d matrix and Kmn is an m-by-n matrix of kernel products such that Kmn(i,j) is the kernel product between Xm(i,:) and Xn(j,:). theta is the r-by-1 unconstrained parameter vector for kfcn.
For a dot product kernel theta is not required. Hence “kfcn” can be simply implemented as Xm * Xn’. I have attached the screenshot of relevant portion from the documentation. Please see documentation of GPR for more details.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by