Modeling of Core Loss Based on Machine Learning and Deep Learning