scikit-learn:4.6. Kernel Approximation

本文介绍了scikit-learn库中用于核近似的几种方法,包括Nystroem方法、径向基函数核、加性卡方核和偏斜卡方核。这些方法主要用于在线学习和处理大数据集,特别是Nystroem方法通过数据子采样实现低秩近似。建议在可能的情况下,结合精确和近似核方法进行比较使用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

参考:http://scikit-learn.org/stable/modules/kernel_approximation.html


之所以使用approximate explicit feature maps compared to the kernel trick, 是因为这样便于online learning,且能够适用于大数据集。但是还是建议,如果可能,approximate and exact kernel methods应该对比着用。


1、Nystroem Method for Kernel Approximation

 Nystroem is a general method for low-rank approximations of kernels. It achieves this by essentially subsampling the data on which the kernel is evaluated. 默认情况下,Nystroem 使用rbf kernel,也可以自定义。 The number of samples used - which is also the dimensionality of the features computed - is given by the parameter 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值