(I am on a tablet, I will format this when I am on my computer.)
First, I am wondering if my math is correct. Also, I need help interpreting the negative, large number in this example. I know that negative numbers mean that the value is not a member of the set. But what does the constant represent? What is its range? Here are my notes:
This algorithm gives a fuzzy score of a player based on his/her score on certain criteria, between an ideal maximum and minimum range of performance.
Scoring Algorithm: Quantifying the words, “Good Job!”
The steps (briefly):
1) Determine overall maximum score.
2) Divide scoring criteria into groups.
3) Determine the total weight of each group as a percent of the maximum.
4) Determine the individual weight of the elements in the group (the sum of the individual elements must equal the total weight of the group) as a percent of the total weight of the group.
5) Determine the ideal max, and minimum scores for each individual element in the group.
6) Get the performance of the player.
7) Find the fuzzy degree of the players performance as a function of the maximum and minimum scores.
Fuzzy Formula:
degree = (value-minimum)/(maximum - minimum) * 100
Example:
Max score: 100
Speed: 33%
* long distance: 50%
* max(average) = 30mph
* min(average) = 20mph
* value(average) = 25mph
* long_degree = 50% good & 50% bad(where best is 30mph and worst is 20mph)
* short distance: 50%
* max(average) = 30mph
* min(average) = 20mph
* value(average) = 25mph
* short_degree = 50% good & 50% bad(where best is 30mph and worst is 20mph)
If a player is 50% good at long distance speed, then they are 50% bad at long distance speed. So, out of a possible 100% at long distance speed, they are only 50%. However, this only constitutes for 50% of the total speed score.
How do I get the total speed score?
Out of a total 16.5 points in long distance speed , the player scored 50 % of that (8.25).
Out of a total 16.5 points in short distance speed, the player scored 50% of that (8.25).
The total possible score for the group is 33 points.
The total in speed performance is 16.5 points.
The full formula:
group_element_score = (max_score * group_weight * individual_weight * degree)
long distance speed score = (100 * .3. * .5 * .5) = 8.25
short distance speed score = (100 * .3. * .5 * .5) = 8.25
Strength 33%
* vertical: 50%
* max(average) = 5ft
* min(average) = 2ft
* value(average) = 3ft
vertical_degree = 33% good & 67% bad
* horizontal: 50%
* max(average) = 8ft
* min(average) = 5ft
* value(average) = 7ft
horizontal_degree = 66% good & 33% bad
vertical strength score = (100 * .3. * .5 * .33) = 5.445
horizontal strength score = (100 * .3. * .5 * .66) = 10.89
Stamina 33%
* long term: 50%
* max(average) = 6hrs
* min(average) = 4hrs
* value(average) = 4.5hrs
long_term_degree = 25% good & 75% bad
* short term: 50%
* max(average) = 1hrs
* min(average) = .5hrs
* value(average) = .95hrs
* short_term_degree = 90% good & 10% bad
long term stamina score = (100 * .3. * .5 * .25) = 4.125
short term stamina score = (100 * .3. * .5 * .90) = 14.85
total score = 51.81/100
This means that the overall performance of the player as compared to the ideal player skills (the max and minimum values are the ideal ranges of skill) is 51.81.
If “good”" were in the range:
min = 90
max = 100
then the value 51.81 would certainly not be good.
degree = (value-minimum)/(maximum - minimum) * 100
performance degree = (51.81–90)/(100–90) = –381.9%
Notice that the value is negative. All negative degree values indicate that the score is not in the set of “good.” If the performance score were 90, notice the performance degree would be 0.