Machine learning to build artificial proteins