Learning to Schedule DAG Tasks