A short note on extension theorems and their connection to universal consistency in machine learning