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, vocabSize
transform, transform, transform
params
getDocConcentration, getK, getKeepLastCheckpoint, getLearningDecay, getLearningOffset, getOldDocConcentration, getOldOptimizer, getOldTopicConcentration, getOptimizeDocConcentration, getOptimizer, getSubsamplingRate, getTopicConcentration, getTopicDistributionCol, validateAndTransformSchema
getFeaturesCol
getMaxIter
getCheckpointInterval
clear, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, 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_, uninitialize
save
public static MLReader<LocalLDAModel> read()
public static LocalLDAModel load(String path)
public LocalLDAModel copy(ParamMap extra)
Params
defaultCopy()
.public boolean isDistributed()
LDAModel
DistributedLDAModel
isDistributed
in class LDAModel
public MLWriter write()
MLWritable
MLWriter
instance for this ML instance.public String toString()
toString
in interface Identifiable
toString
in class Object