-
DFT nature of the research, the pros and transform calculation, the real and ima...
DFT性质的研究,正反变换的计算关系,实虚部的对应关系-DFT nature of the research, the pros and transform calculation, the real and imaginary parts of the correspondence between
- 2022-08-07 11:58:54下载
- 积分:1
-
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
-
此源代码(可编程中断控制器),用于…
This the source code for PIC(Programmable Interrupt Controller) which is used in computer interface-This is the source code for PIC(Programmable Interrupt Controller) which is used in computer interface
- 2022-02-01 16:07:08下载
- 积分:1
-
A framework for a prime number, we provide a multi
求某范围内得素数,我们多核试验提供得,老师让把它并行化-A framework for a prime number, we provide a multi-core test, the teacher let it parallelization
- 2022-11-04 20:40:03下载
- 积分:1
-
几个数值算法,二分法、分段线性插值、复合梯形法
几个数值算法,二分法、分段线性插值、复合梯形法-several numerical algorithm dichotomy, piecewise linear interpolation, composite trapezoidal method
- 2022-07-06 21:59:06下载
- 积分:1
-
一个简单的计算器,用MATLAB开发
一个简单的计算器,用MATLAB开发-a simple calculator, developed using MATLAB
- 2022-11-30 20:30:08下载
- 积分:1
-
ACM区域赛2011年大连G题
题意:
给出一些子串,和母串的长度,问在母串里面包含任意子串的最大值是多少,
其中每个子串最多只能被计算一次。如果最大值为负数,则输出特定的字符串。
sample:
input:
2 4
ATG 4
TGC -3
1 6
TGC 4
4 1
A -1
T -2
G -3
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-26 07:39:27下载
- 积分:1
-
可以自由定义长度的bits
c++的bit模板只能用常数制定大小,这里重新定义bit使其可以用变量第一定义大小,更方便
- 2022-02-21 14:25:29下载
- 积分:1
-
随机生成迷宫并绘出路径
资源描述C语言简单迷宫小程序,随机生成迷宫并求解绘图
- 2023-04-06 13:05:03下载
- 积分:1
-
改进的带记忆的模拟退火算法求解TSP问题
资源描述采用多普勒型降温曲线,在传统算法的基础上添加了记忆功能,可测试中国31/64/144以及att48城市的数据,也可自行输入数据进行测试,测试结果基本达到当前最优水平,测试请运行duoci.m文件
- 2022-11-17 21:00:03下载
- 积分:1