It is now checking if the user wants to prioritize the order in which the preferences are being held.
From that, it calculates the points following the algorithm:
1) The mean that a restaurant has on a feedback id divided by the max value on that feedback area
2) The priority is set by the length of how many feedback areas there are, and the current index. in that sense, if there are 10 feedback areas and the first one is product's quality, the result in 1) is multiplied by 10 (10 - 0).
3) Order the preferences according to the matchScore
Hi everyone!
It is now checking if the user wants to prioritize the order in which the preferences are being held. From that, it calculates the points following the algorithm:
1) The mean that a restaurant has on a feedback id divided by the max value on that feedback area 2) The priority is set by the length of how many feedback areas there are, and the current index. in that sense, if there are 10 feedback areas and the first one is product's quality, the result in 1) is multiplied by 10 (10 - 0). 3) Order the preferences according to the matchScore
https://user-images.githubusercontent.com/60989884/181828568-fb312aba-da2c-46af-a506-4b6b540d8227.mov