Modern Living Algorithms

 

The documentary called The Secret Rules of Modern Living Algorithms demonstrate to us that algorithm is more than a series of step by step instructions. It makes our life more efficient and helps human do stuff that machineoriginally cannot do. So let’s explore seven of those smart algorithms. So let’s explore seven of those smart algorithms.

Face Detection Algorithm

屏幕快照 2017-02-22 下午8.48.18.png

It works by scanning the image looking for four particular abstract patterns associated with a face. When these patterns are detected one after the other, the algorithm knows that it has found a human face.

Application: face detection on phone’s camera


Euclid’s Algorithm

屏幕快照 2017-02-22 下午8.54.52.png

It works for finding the perfect square tiles for a rectangular floor. At each stage, the algorithm tells us to fill up with square tiles corresponding to the shortest side of the rectangle. The side length of the smallest square tile is the greatest common divisor of that rectangle.

Application: For building-constuctors to decide the size of square tiles.

屏幕快照 2017-02-22 下午8.55.16.png


PageRank Algorithm

屏幕快照 2017-02-22 下午9.03.41.png

PageRank algorithm is a search engine that can find things efficiently on the World Wide Web by determining the relevance of countless websites.

The number below each shirt is a players “PageRank which is according to the pass of football he engaged in the game.

When a match ended, the PageRank algorithms job has done. When you search for key player in the team”, the player with the highest page rank will come to the top of this page.

Application: Google

屏幕快照 2017-02-22 下午9.03.53.png


Bubble Sort Algorithm

屏幕快照 2017-02-22 下午9.09.31.png

Bubble Sort Algorithm sorts blocks instead of numbers. With each round of the algorithm, the largest unsorted object bubbles to the top.


Merge Algorithm

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7-2017-02-22-%e4%b8%8b%e5%8d%889-13-02

(Merge sort algorithm (on the top) is more efficient than bubble sort algorithm (at the bottom).)

Merge Algorithm works on the principle of divide and conquer. First, it comes to the dividing part: the algorithm separates objects into smaller groups. Then the smaller groups merge back together after the algorithm compares the sizes of the two objects and sort them.

Application: Resource allotment


Gale-Shapley Algorithm

They did not get their most desirable choices but at least got their best choice.

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7-2017-02-22-%e4%b8%8b%e5%8d%889-21-45

Each queen and kind list their desirable match in order.

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7-2017-02-22-%e4%b8%8b%e5%8d%889-33-00

Three queens’ first choice is King Heart, so all of them proposed to King heart. King heart’s first choice is King heart’s first choice is Square Heart so they matched and the other two queens got rejected. Kind Heart got removed from the list.

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7-2017-02-22-%e4%b8%8b%e5%8d%889-34-03

Then sequent roll processed until each king is king is matched with one queen which is that king’s best choice.king is matched with one queen which is that king’s best choice.queen which is that king’s best choice.king is matched with one queen which is that king’s best choice.

Application: match students with the college that are best-fit for them.


Machine Learning Algorithm

It learns by examples and invents their own rules. It learns users personal likes and dislikes.

屏幕快照 2017-02-22 下午9.50.21.png

Application: Artificial Intelligence


Reference

“The Secret Rule of Modern Living Algorithms” BBC News. BBC, 6 May  2015. Web. 19 Jan 2017.

留下评论