Machine learning methods for peptide, protein and antibody design