class turicreate.image_classifier.ImageClassifier(state)

A trained model that is ready to use for classification or export to CoreML.

This model should not be constructed directly.


ImageClassifier.classify(dataset[, batch_size]) Return a classification, for each example in the dataset, using the trained logistic regression model.
ImageClassifier.evaluate(dataset[, metric, …]) Evaluate the model by making predictions of target values and comparing these to actual values.
ImageClassifier.export_coreml(filename) Save the model in Core ML format.
ImageClassifier.name() Returns the name of the model.
ImageClassifier.predict(dataset[, …]) Return predictions for dataset, using the trained logistic regression model.
ImageClassifier.predict_topk(dataset[, …]) Return top-k predictions for the dataset, using the trained model.
ImageClassifier.save(location) Save the model.
ImageClassifier.summary([output]) Print a summary of the model.