Machine Learning of Amino Acid Composition Models for Protein Redesign