Metric Entropy Of Ellipsoids With Applications To Machine Learning