def get_model(image_size, subject_names):
 feature = Fisherfaces()
 classifier = NearestNeighbor(dist_metric=EuclideanDistance(), k=1)
 return ExtendedPredictableModel(feature=feature, classifier=classifier, image_size=image_size, subject_names=subject_names)

def get_model ( image_size , subject_names ) : feature = Fisherfaces ( ) classifier = NearestNeighbor ( dist_metric = EuclideanDistance ( ) , k = 1 ) return ExtendedPredictableModel ( feature = feature , classifier = classifier , image_size = image_size , subject_names = subject_names )
returns the model matching the given app_label and case-insensitive model_name .