Adopting Machine Learning Algorithm to Determine Optimal Setting of Energy Saving System That Improves Overall Energy Efficiency