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() |
String |
toString() |
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, transformparamsgetDocConcentration, 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, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitializesavepublic 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.public String toString()
toString in interface IdentifiabletoString in class Object