logistic and mlp for modification