Ranking algorithm based on user voting (d) Newton's Law of cooling

Source: Internet
Author: User

The first three articles in this series introduce the ranking algorithms for hacker News,reddit and Stack overflow.

Today, a more general mathematical model is discussed.

Each article in this series can be read separately. However, to ensure that everyone is on the same page, let me say that, so far, we have tried to solve the same problem in different ways: according to the user's vote, the "Jevin ranking" has been decided in the recent period.

You might think that this is a whole new subject that comes with the internet and needs a whole new way to solve it. But, actually not. We can think of "Jevin rank" as a "natural cooling" process:

(1) Any time, the site of all the articles, have a "current temperature", the highest temperature article in the first place.

(2) If a user voted in favour of an article, the temperature of the article rose once.

(3) As time goes by, the temperature of all articles is gradually "cooled".

The implication of this hypothesis is that we can copy the cooling laws of physics and use ready-made formulas to establish a functional relationship between "temperature" and "time" to easily construct an "exponential attenuation" (exponential decay) process.

The great physicist Newton, as early as 17th century, proposed the mathematical formula for temperature cooling, which was later called "Newton's Law of cooling" (Newton ' laws of cooling). We use this law to build the ranking algorithm.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.