PHP data statistics algorithm for guidance

recently, we are going to do a statistics on the activity of the industry in the project, and the three factors that affect the activity of the industry are the number of posts issued by the industry, the number of comments on the information of the industry, and the number of users in the industry. So how to design an algorithm based on these three factors to calculate the popularity of an industry? Ask for advice from friends who have done it. Just give me an idea. You don"t need code

.
Mar.02,2021

this is not a good way to calculate according to what you say, and then need a weight, who dominates


what I learned from the product: analytic hierarchy process https://baike.baidu.com/item/.

practical application is: list sorting priority


I share my algorithm. I came up with the idea based on the normal distribution model, let the various factors that affect the industry activity be calculated, and then assign different proportions to each factor (which can be dynamically adjusted). The closer it is to 1, the more active the industry is. (all factors add up to 4 decimal places below 1. )

Menu