Cost-Based Lightweight Storage Automatic Decision for In-Database Machine Learning