turicreate.image_classifier.ImageClassifier

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.

Methods

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