自适应核密度估计matlab程序,matlab实现局部自适应核密度估计

ssvkernel是一个MATLAB函数,用于使用局部适应的高斯内核函数进行核密度估计。该函数通过最小化预期的L2损失函数来优化带宽,以适应未知密度函数。它在局部间隔内迭代计算最优固定大小的带宽,并在论文中详细描述了这种方法。
摘要由CSDN通过智能技术生成

Locally Adaptive Kernel Density Estimation

First thing to do:

Run a tutorial code, tutorial.m

Documentation:

http://2000.jukuin.keio.ac.jp/shimazaki/res/kernel.html

see also sskernel for optimization of a fixed kernel bandwidth and sshist for histogram optimization.

% [y,t,optw,gs,C,confb95,yb] = ssvkernel(x,t,W)

%

% Function `ssvkernel' returns an optimized kernel density estimate

% using a Gauss kernel function with bandwidths locally adapted to the data.

%

% Examples:

% >> x = 0.5-0.5*log(rand(1,1e3)); t = linspace(0,3,500);

% >> [y,t,optw] = ssvkernel(x,t);

% This example produces a vector of kernel density estimates, y, at points

% specified in a vector t, using locally adaptive bandwidths, optw

% (a standard deviation of a normal density function).

%

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值