Models LdaModel


class LdaModel

Creates Latent Dirichlet Allocation model

LDA is a commonly-used algorithm for topic modeling, but, more broadly, is considered a dimensionality reduction technique. For more detail see LDA.

Attributes

name Set or get the name of the model object.

Methods

__init__(self[, name, _info]) Creates Latent Dirichlet Allocation model
predict(self, document) [BETA] Predict conditional probabilities of topics given document.
publish(self) [BETA] Creates a scoring engine tar file.
train(self, frame, document_column_name, word_column_name, word_count_column_name) [BETA] Creates Latent Dirichlet Allocation model
__init__(self, name=None)

Creates Latent Dirichlet Allocation model

Parameters:

name : unicode (default=None)

User supplied name.

Returns:

: <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e68702090>>

LDA is a commonly-used algorithm for topic modeling, but, more broadly, is considered a dimensionality reduction technique. For more detail see LDA.