turicreate.drawing_classifier.DrawingClassifier

class turicreate.drawing_classifier.DrawingClassifier(model_proxy=None, name=None)

A trained model using C++ implementation that is ready to use for classification or export to CoreML.

This model should not be constructed directly.

Methods

DrawingClassifier.evaluate(dataset[, metric]) Evaluate the model by making predictions of target values and comparing these to actual values.
DrawingClassifier.export_coreml(filename) Export the model in Core ML format.
DrawingClassifier.predict(dataset[, output_type]) Predict on an SFrame or SArray of drawings, or on a single drawing.
DrawingClassifier.predict_topk(dataset[, …]) Return top-k predictions for the dataset, using the trained model.
DrawingClassifier.save(location) Save the model.
DrawingClassifier.summary([output]) Print a summary of the model.