turicreate.sound_classifier.SoundClassifier

class turicreate.sound_classifier.SoundClassifier(state)

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

This model should not be constructed directly.

See also

create

Methods

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