Humanization of antibodies using a machine learning approach on large-scale repertoire data