poli.objective_repository.gfp_cbas.cbas_alphabet_preprocessing.one_hot_encode_aa_array

poli.objective_repository.gfp_cbas.cbas_alphabet_preprocessing.one_hot_encode_aa_array#

poli.objective_repository.gfp_cbas.cbas_alphabet_preprocessing.one_hot_encode_aa_array(X_aa: ndarray) ndarray#

OneHot encodes array: (batch_size, L) -> (batch_size, L, alphabet_size)