Active Learning in Non-parametric and Federated Settings