You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a solution to this problem could be this:
lets rename cyberPercent to cyberScore, calculate maximum possible cyberScore and call it const maxScore, do it for minimum possible and call it const minScore.
now you can find a percentage using following formula:
syberyab-chrome-extension/scripts/content.js
Line 180 in 4932260
a solution to this problem could be this:
lets rename cyberPercent to cyberScore, calculate maximum possible cyberScore and call it
const maxScore
, do it for minimum possible and call itconst minScore
.now you can find a percentage using following formula:
const cyberPercent = (cyberScore - minScore) / (maxScore - minScore) * 100
For further reading check out https://en.wikipedia.org/wiki/Feature_scaling#Rescaling_(min-max_normalization)
The text was updated successfully, but these errors were encountered: