Learning to Weave