题目连接:http://poj.org/problem?id=3370DescriptionEvery year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many...
分类:
其他好文 时间:
2015-08-03 16:57:11
阅读次数:
92
从今天开始,与大家分享我学习《Machine Learning In Action》这本书的笔记与心得。我会将源码加以详细的注释,这是我自己学习的一个过程,也是想通过这种方式帮助需要学习的童鞋的一种方式。k-近邻算法定义k-近邻(k-Nearest Neighbour,kNN)算法采用测量不同特征值之间的距离的方法进行分类。该方法的思路是:如果一个样本在特征空间中的k个最相似(即特征空间中最邻近)的...
分类:
编程语言 时间:
2015-07-25 18:26:35
阅读次数:
288
Searching for Approximate Nearest NeighboursNearest neighbour search is a common task: given a query object represented as a point in some (often high...
分类:
移动开发 时间:
2015-07-15 20:55:51
阅读次数:
194
#iphelp
ip{link|address|addrlabel|neighbour|route|rule|maddress|mroute|tunnel|xfrm}help
#ipaddress
#显示IP
ipa
#显示eth3IP
ipashoweth3
#显示eth3IPv4
ip-4ashoweth3
#添加IP
ipaadd192.168.10.2/24deveth1
#添加IP添加label
ipaadd192.168.10.2/24deveth1labeleth1N..
分类:
其他好文 时间:
2015-05-28 14:23:24
阅读次数:
239
Problem Description
Given a circle sequence A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is A[n] , and the right neighbour of A[n] is A[1].
Now your job is to calculate...
分类:
其他好文 时间:
2015-04-14 19:49:36
阅读次数:
133
台湾合作方给定的虚拟机总是报错误日志Mar1110:46:23cv00300005254-1kernel:__ratelimit:2237callbackssuppressed
Mar1110:46:23cv00300005254-1kernel:Neighbourtableoverflow.
Mar1110:46:23cv00300005254-1kernel:Neighbourtableoverflow.
Mar1110:46:23cv00300005254-1kern..
分类:
其他好文 时间:
2015-03-11 15:04:36
阅读次数:
417
今天实现了一个简单变形器,可以用一个网格的形状影响另一个网格的形状。如图,蓝色网格的形状被灰色网格操控。当前的算法非常简单,就是计算蓝色网格每个点到灰色网格每个点的距离,以距离x次方的倒数作为权重。没有使用均值坐标等高级算法。cage deformer节点的参数如下:max neighbour是影响...
分类:
其他好文 时间:
2015-02-11 15:53:00
阅读次数:
214
1 ################################################## 2 # kNN : k Nearest Neighbour 3 # Author : Monne 4 # Date : 2015-01-24 5 # Email : 41660663...
分类:
编程语言 时间:
2015-01-24 22:35:49
阅读次数:
176
本文引自http://blog.csdn.net/dustinsea/article/details/17394615在设计实现推荐系统,选择推荐算法时, 肯定会考虑协同过滤(CF)的使用,而CF中经常使用的两种方法包括: neighbour-based方法和因式分解。 作为一个搜索推荐系统,百度关...
分类:
其他好文 时间:
2014-12-23 16:54:33
阅读次数:
330
KNN=K-Nearest Neighbour原理:我们取前K个相似的数据(排序过的)中概率最大的种类,作为预测的种类。通常,K不会大于20。下边是一个简单的实例,具体的含义在注释中:import numpy as npimport operatorimport osdef createDataSe...
分类:
编程语言 时间:
2014-12-21 15:10:40
阅读次数:
180