Machine learning predicts behavior of biological circuits