compute_feature_vector