Create train_gnb.m