-
蓝桥杯-六角幻方-代码
应用背景
这是蓝桥杯往年的一个题目,类似的题目有六角填数、4*4魔方阵等。题目如下图:
将1,2,3,...19填进去,图中已经填了两个数15和13,填完后要求每条直线上的数字之和相等,图中共有十五条直线。
关键技术代码在VS2010上运行。 设和为a, 则a*15/3=(1+19)/2*19 所以 a=38 前两个数已经填好,开始填第三个数,将满足vis=0的数依次填进去。填完第三个数,第一行已经形成了直线,判断第一行的和是不是38. 填完第七个数,新增加了一条直线(第二行),判断它的和。填完第八个数,增加了一条线(45°方向),判断其和。以此类推。程序关键是:每填完一个数,看有没有新增加的直线,并判断数字和,不能全部填完19个数再判断,因为计算量太大,程序运行不出来。
- 2022-02-07 04:51:19下载
- 积分:1
-
推荐系统-协同过滤算法
应用背景
java实现的几个推荐算法:slopeone SVD,RSVD,ItemNeighborSVD
由于只是为了看看RMSE效果,因此很多功能都没完善
这个代码是我从网上看到的,感觉对我学习推荐算法很有用,因此放上了大家共享,希望对大家会有用.
关键技术
如果需要跑起来看效果,那么你需要
1. 下载movielens数据集,建议使用 1000W数据集 http://www.grouplens.org/sites/www.grouplens.org/external_files/data/ml-10m.zip
2. 查看修改regeneration.py 重新生成一遍数据集。再修改运行common下的DataConverter生成算法需要的格式
3. 根据需要修改test目录里的代码,运行。参数配置可先不动,
- 2022-08-26 04:21:40下载
- 积分:1
-
writing mathematical function call library, LU decomposition, high Shisaideer it...
自编数学函数调用库,有LU分解法,高斯塞德尔迭代法,追赶法解线性方程组,还有一维和二维的高斯积分公式-writing mathematical function call library, LU decomposition, high Shisaideer iterative method, catching up with the method for solving linear equations, one-and two-dimensional Gaussian integral formula
- 2023-08-06 04:30:03下载
- 积分:1
-
XMDS is a code generator that integrates equations. You write them down in human...
XMDS is a code generator that integrates equations. You write them down in human readable form in a XML file, and it goes away and writes and compiles a C++ program that integrates those equations as fast as it can possibly be done in your architecture.
- 2022-05-07 07:29:40下载
- 积分:1
-
Gaze tracking/ pupil tracking /eye tracking
提出了一个实时的视线追踪方案。程序可运行,追踪效果好。
An eye tracker gives the pixel position of the center of the pupil in an image whereas a gaze tracker determines where the person is looking on the screen.
↩
Timm and Barth. Accurate eye centre localisation by means of gradients. In Proceedings of the Int. Conference on Computer Theory and Applications (VISAPP), volume 1, pages 125-130, Algarve, Portugal, 2011. INSTICC.
- 2022-07-07 14:42:01下载
- 积分:1
-
Fote Rotary Drying Has Increasingly Competition in Dryer Market
- 2022-02-10 07:58:56下载
- 积分:1
-
GNU Linux代码实例
应用背景正则表达式关键技术添加两个文件转换到DOS UNIX换行符
- 2022-02-28 19:40:46下载
- 积分:1
-
自己做的程序,可能对你有用
自己做的程序,可能对你有用-own procedures that may be useful to you
- 2022-10-07 10:35:02下载
- 积分:1
-
任何给一些数一个和,算出这些可以有哪些方式计算得到这个和的算法....
任何给一些数一个和,算出这些可以有哪些方式计算得到这个和的算法.-any given some a few and calculate what they can be calculated and this algorithm.
- 2023-03-03 16:45:04下载
- 积分:1
-
两目标pso算法
应用背景粒子群算法,也称粒子群优化算法(Particle Swarm Optimization),缩写为 PSO, 是近年来发展起来的一种新的进化算法(Evolutionary Algorithm - EA)。PSO 算法属于进化算法的一种,和模拟退火算法相似,它也是从随机解出发,通过迭代寻找
- 2022-03-26 09:33:24下载
- 积分:1