-
DS12C887-LCD
利用DS12C887时钟芯片实现时钟的LCD显示(use DS12C887 clock chip clock LCD Display)
- 2007-03-14 22:30:16下载
- 积分:1
-
随机k近邻
应用背景k近邻(K-Nearest-Neighbor,KNN)是数据挖掘中最简单的一个算法,用于目标分类。其基本原理是“近朱者赤,近墨者黑”。比如在一片原始深林中有一些动物(比如1000只),有大象、老虎、狮子、狗、山猫等。假定你知道每只动物的位置(x,y)。如果有人告诉你在(a,b)处有一只动物,根据KNN算法,你先找出离(a,b)最近的5只动物(k=5),然后找出这五只动物中最多的是哪类动物,则可以预测(a,b)处的动物也属于这类动物。记住,你要将已知动物的位置和种类存入文件,格式为:
10,34,老虎
10,38,老虎
109,35,狮子
104,40,山猫
... ...
手工输入1000个动物不是个好主意,建议编另外一个程序随机地在某区域生成若干只动物,注意动物通常都是群居,如果随机安排1000只动物,则KNN就失去了意义。
用C# 窗体程序开发,要求不但能预测(a,b)处动物的类别,而且还能显示他周围具体有哪k个动物。如果能够用图形画出这些动物的位置,肯定能得优。关键技术 public string Predict()
{
for (int i = 0; i < 1000; i++)
{
animals[i].distance = (posx - animals[i].x) * (posx - animals[i].x) + (posy - animals[i].y) * (posy - animals[i].y);
- 2022-08-24 21:46:52下载
- 积分:1
-
qiannengC++
电子书,钱能C++程序设计教程,一本经典C++教程.(E-books, the money can C++ Programming Guide, a classic C++ Tutorial.)
- 2008-05-20 15:59:56下载
- 积分:1
-
eXeScope650
eXeScope650绿色注册版,修改DLL EXE文件!(eXeScope650 free registered version)
- 2016-10-25 10:19:31下载
- 积分:1
-
用C#写的视频播放器,能够播放各种视频,希望对于学习C#有所帮助。...
用C#写的视频播放器,能够播放各种视频,希望对于学习C#有所帮助。-Using C# to write the video player, can play a variety of video, I hope to be helpful to study C#.
- 2022-03-31 08:54:52下载
- 积分:1
-
dtmf
这是本人在TI DSP C6713DSK开发板上开发的DTMF实现程序,已调试通过。(This is my TI DSP C6713DSK in the development of on-board DTMF realize the development of procedures have been debug through.)
- 2007-10-17 13:09:03下载
- 积分:1
-
EightQueensGA
Eight queen with C# Example
- 2012-03-15 23:52:12下载
- 积分:1
-
surging
surging 是一个分布式微服务框架,提供高性能RPC远程服务调用,采用Zookeeper、Consul作为surging服务的注册中心,
集成了哈希,随机,轮询作为负载均衡的算法,RPC集成采用的是netty框架,采用异步传输。(Surging is a distributed micro-service framework, which provides high-performance RPC remote service calls. Zookeeper and Consul are used as registries of surging services.
Hash, random and polling are integrated as load balancing algorithms. RPC integration adopts netty framework and asynchronous transmission.)
- 2018-11-12 09:20:30下载
- 积分:1
-
ADC
基于蓝牙协议栈BLE4.0的模块CC2541的ADC采集实验(Stack BLE4.0 module CC2541-based Bluetooth protocol ADC acquisition experiment)
- 2016-04-29 00:27:58下载
- 积分:1
-
my_windows_timer
windows计时器工具,能够精确到毫(0.001),说明文档请用office2010打开。(windows timer tools, technology is accurate to the mm (0.001), documentation office2010 open.)
- 2012-05-11 01:42:23下载
- 积分:1