Machine-Learning-Based 5G Network Function Scaling via Black- and White-Box KPIs