A Structured Prediction Approach for Conditional Meta-Learning