-
C++实现基于用户的协同过滤
算法过程:1).读入数据,将数据用user_brands存起来,同时建立userid_id,再建立id_brands 2).遍历id_brands得到物品-用户倒排表brand_ids,根据倒排表得到用户的相似矩阵sim_mat 3).为每个用户推荐产品: 3.1).求用户u买过的brand和所有brand的差集得到用户u没有买过的物品集合brand_unused; 3.2).用户u对每一个没用过的物品i的兴趣p(u,i): 3.2.1).找到与用户u最近的k个用户 对于每一个没用过的物品i: 3.2.2).找出这k个用户中对物品i有过行为的用户v[]√ 3.2.3).将用户u和v[j]的兴趣相似度累加 3.3).取前m个最感兴趣的brand推荐给用户; 代码:UCF.cc(用户协同过滤核心代码):#include #include #include #include #include #include #include #include #include #include
- 2023-03-01 07:45:04下载
- 积分:1
-
数学表达式计算器,VC 平台操作。能够计算数学公式和表达式,功能比较强大。...
数学表达式计算器,VC 平台操作。能够计算数学公式和表达式,功能比较强大。-mathematical expression calculator, VC platform operators. To calculate mathematical formula and expression, function more powerful.
- 2022-01-27 23:11:51下载
- 积分:1
-
simulated annealing line inspection solution (Tsp)
模拟退火解巡视路线(Tsp)-simulated annealing line inspection solution (Tsp)
- 2022-05-27 16:18:00下载
- 积分:1
-
BP神经网络的数据分类——语音特征信号分类
BP神经网络模型是一种典型的前向型神经网络,具有良好的自学习、自适应、联想记忆、并行处理和非线形转换的能力,是目前应用最为广泛的一种神经网络模型。本文介绍了BP神经网络的实现以及其在数据挖掘分类方面的应用。
- 2022-05-24 03:50:26下载
- 积分:1
-
will enhance wavelet for target tracking. Lifting the core algorithm and is upda...
将提升小波用于目标跟踪。
小波提升的核心就是更新算法和预测算法,通过预测算法可以得到高频信息,而通过更新算子可以得到正确的低频信息.提升样式可以实现原位计算和整数提升,并且变换的中间结果是交织排列的.其中原位计算和整数提升在硬件实现中很有价值.-will enhance wavelet for target tracking. Lifting the core algorithm and is updated prediction algorithm, algorithm can be predicted high-frequency information, and by updating operator can correct the low-frequency information. upgrade format can achieve in-situ upgrade and Integer calculations, and transform the intermediate results are intertwined with a. which integer calculation and in-situ upgrading the hardware realization of great value.
- 2022-05-14 04:46:44下载
- 积分:1
-
在c语言环境下实现快速傅立叶变换的功能,c实现fft变换
在c语言环境下实现快速傅立叶变换的功能,c实现fft变换-In c language environment to achieve the function of fast Fourier transform, c realize fft transform
- 2022-03-06 22:12:13下载
- 积分:1
-
基于51单片机的信号产生于周期检测
通过51单片机的外部中断接收信号,用51单片机定时器0的工作模式2记时,准确的产生一定周期的方波。同时当外部中断检测到信号的下降沿则打开定时器1记时,当第二个信号来时,关闭定时器1,读取时间,显示数据。
- 2022-02-22 01:50:55下载
- 积分:1
-
从回归分析中得出的数据。并产生T。
对数据进得自回归分析预测。并生成下一周期的预测值-Of data into the prediction derived from the regression analysis. And generate the next cycle of prediction value
- 2022-10-23 03:00:03下载
- 积分:1
-
solving nonlinear equations in a way : by using a method of optimizing initial G...
解非线性方程组的一种方法:先用一种优化方法将给定初值(它有可能会使得后续的牛顿法发散)通过一条比较快的途径收敛到精确解附近,得到一个新的初始点,然后再通过牛顿法将新的初始点迭代到精确解(一定的误差范围内)。这种方法的优点在于:它可以将牛顿法快速收敛的优势发挥出来,同时又避免了该方法收敛域比较窄的缺点。-solving nonlinear equations in a way : by using a method of optimizing initial Givens (it might make follow-up to Newton"s law divergence) adopted a relatively fast convergence to the channel near the exact solution, to be a new starting point, and then Newton"s law of the new iteration of the initial point of the exact solution ( some of error). This method has the advantage : it can be rapid convergence of Newton"s method to exploit the advantages while avoiding convergence of the method is relatively narrow domain shortcomings.
- 2022-03-20 10:21:18下载
- 积分:1
-
用C++编写的插值程序
用C++编写的插值程序-prepared by the interpolation procedures
- 2022-01-22 00:21:17下载
- 积分:1