Google还会使用pagerank算法,一个Web页面在搜索结果中的排名是基于链接到此web页面的其他页面的多少。
Google also USES the PageRank algorithm, where a Web page's rank in the search results is based on how many other pages link to it.
说明:通过改变一些条件,(比如数据类型或者问题的规模)来简化问题,然后设计一个算法来解决这个简化过的问题,然后在问题一般化还原回来。
Description: Change a constraint (data type, size, etc) to simplify the problem Then try to solve it Once you have an algorithm for the "simplified" problem, generalize the problem again.
请注意这里提到的一个问题:在分类问题中,学习算法的目标是把给定输入中的错误最小化。
Notice something important here: in the classification problem, the goal of the learning algorithm is to minimize the error with respect to the given inputs.
And so the fact that in this whole slide here, this algorithm for sorting, I'm using the verb sort.
在这个排序算法中,我用到了一个动词排序。
All right? I don't care what's in there, but just assume that's my list. And just to remind you, on your handout, and there it is on the screen, I'm going to bring it back up, there's the little binary search algorithm.
好,我不管列表里是什么,就假定那是一个列表,要提醒你们的是,在你们的讲义上和屏幕上,有一个简单的二分查找算法。
Alright, so we can implement any number of algorithms using this thing because the basic mechanism I have here is a comparator.
好了,利用它我们可以实现,很多种算法,因为在此我用到的基本原理是一个比较器。
应用推荐