$ KlugerClub.ru - другой адрес нашего сайта   $ Acura MDX V2 - море информации   $ Книжки Highlander и Kluger  

Добавлен блок "Горячие материалы"

Респекты: 0

Это вместо блока "Наиболее читаемое", в который единожды попавшие материалы (набравшие наибольшее количество просмотров) висели там всю дорогу. Но этот функционал сохранен на странице "Что читают".

Теперь алгоритм извращенный, имитирующий модель радиоактивности. :-)

#1

Респекты: 0

Так какой алгоритм?

#2

Респекты: 0
The node ranking is based on radioactivity model. The algorithm behind the model is pretty simple:
  • Viewing a node adds energy to it and makes it 'hotter'.
  • The energy decays at a rate defined by the half-life period, making it 'cooler'. For example, a click is worth 1 energy unit at the time of clicking, 0.5 energy units after one half-life period, 0.25 energy units after two half-life periods, and so on.
Therefore, nodes that get lots of clicks stay hotter while inactive nodes stay cooler. Note that the model is continuous, meaning that the click energy is not degraded only once per half-life. Actually, it may be degraded as often as required to get better precision. Degrading more often means less energy is reduced per iteration.

#3

Респекты: 0


aka

The node ranking is based on radioactivity model. The algorithm behind the model is pretty simple:

  • Viewing a node adds energy to it and makes it 'hotter'.
  • The energy decays at a rate defined by the half-life period, making it 'cooler'. For example, a click is worth 1 energy unit at the time of clicking, 0. 5 energy units after one half-life period, 0. 25 energy units after two half-life periods, and so on.


Ну всё понятно и просто Laughing out loud : D Laughing out loud