public class LocalLDAModel extends LDAModel
LDA.
This model stores the inferred topics only; it does not store info about the training dataset.
| Modifier and Type | Method and Description |
|---|---|
LocalLDAModel |
copy(ParamMap extra)
Creates a copy of this instance with the same UID and some extra params.
|
boolean |
isDistributed()
Indicates whether this instance is of type
DistributedLDAModel |
static LocalLDAModel |
load(String path) |
static MLReader<LocalLDAModel> |
read() |
MLWriter |
write()
Returns an
MLWriter instance for this ML instance. |
checkpointInterval, describeTopics, describeTopics, docConcentration, estimatedDocConcentration, featuresCol, k, keepLastCheckpoint, learningDecay, learningOffset, logLikelihood, logPerplexity, maxIter, optimizeDocConcentration, optimizer, seed, setFeaturesCol, setSeed, setTopicDistributionCol, subsamplingRate, supportedOptimizers, topicConcentration, topicDistributionCol, topicsMatrix, transform, transformSchema, uid, vocabSizetransform, transform, transformparamsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocConcentration, getK, getKeepLastCheckpoint, getLearningDecay, getLearningOffset, getOldDocConcentration, getOldOptimizer, getOldTopicConcentration, getOptimizeDocConcentration, getOptimizer, getSubsamplingRate, getTopicConcentration, getTopicDistributionCol, validateAndTransformSchemagetFeaturesColgetMaxItergetCheckpointIntervalclear, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwntoStringinitializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningsavepublic static MLReader<LocalLDAModel> read()
public static LocalLDAModel load(String path)
public LocalLDAModel copy(ParamMap extra)
ParamsdefaultCopy().public boolean isDistributed()
LDAModelDistributedLDAModelisDistributed in class LDAModelpublic MLWriter write()
MLWritableMLWriter instance for this ML instance.