turicreate.image_similarity.ImageSimilarityModel

class turicreate.image_similarity.ImageSimilarityModel(state)

An trained model that is ready to use for similarity. This model should not be constructed directly.

Methods

ImageSimilarityModel.export_coreml(self, …) Save the model in Core ML format.
ImageSimilarityModel.name(self) Returns the name of the model.
ImageSimilarityModel.query(self, dataset[, …]) For each image, retrieve the nearest neighbors from the model’s stored data.
ImageSimilarityModel.save(self, location) Save the model.
ImageSimilarityModel.similarity_graph(self) Construct the similarity graph on the reference dataset, which is already stored in the model to find the top k similar images for each image in your input dataset.
ImageSimilarityModel.summary(self[, output]) Print a summary of the model.