Learning to Edge