Multi-task learning via structured regularization: formulations, algorithms, and applications