class turicreate.topic_model.TopicModel(model_proxy)

TopicModel objects can be used to predict the underlying topic of a document.

This model cannot be constructed directly. Instead, use turicreate.topic_model.create() to create an instance of this model. A detailed list of parameter options and code samples are available in the documentation for the create function.


TopicModel.evaluate(self, train_data[, …]) Estimate the model’s ability to predict new data.
TopicModel.get_topics(self[, topic_ids, …]) Get the words associated with a given topic.
TopicModel.predict(self, dataset[, …]) Use the model to predict topics for each document.
TopicModel.save(self, location) Save the model.
TopicModel.summary(self[, output]) Print a summary of the model.