microsoft / Data-Science-For-Beginners

10 Weeks, 20 Lessons, Data Science for All!
https://microsoft.github.io/Data-Science-For-Beginners/
MIT License
27.86k stars 5.76k forks source link

Update Bonus Calculation Method to Use Min-Max Scaling #516

Open mike96265 opened 1 year ago

mike96265 commented 1 year ago

According to the context, if we calculate the bonus with the base height.max() - height.mean(), then the bonus might exceed 100. To address this issue and ensure that the bonus remains within a reasonable range, I propose using Min-Max scaling. This will help normalize the bonus calculation and prevent it from becoming excessively large.