Learning Collections of Functions