added knn. config for model type setting