scripts to show the weight of the features and error analysis