Constructor
new LDA(uidopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
uid |
string |
<optional> |
Extends
Methods
(static) load(path) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
path |
string |
- Source:
Returns:
copy(extra) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
extra |
module:eclairjs/ml/param.ParamMap |
- Overrides:
- Source:
Returns:
extractParamMap() → {module:eclairjs/ml/param.ParamMap}
- Inherited From:
- Source:
Returns:
fit(dataset) → {module:eclairjs/mllib/clustering.LDAModel}
Parameters:
Name | Type | Description |
---|---|---|
dataset |
module:eclairjs/sql.Dataset |
- Overrides:
- Source:
Returns:
setCheckpointInterval(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
integer |
- Source:
Returns:
setDocConcentrationwithnumber(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
Array.<float> |
- Source:
Returns:
setDocConcentrationwithnumber(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
float |
- Source:
Returns:
setFeaturesCol(value) → {module:eclairjs/mllib/clustering.LDA}
The features for LDA should be a Vector representing the word counts in a document.
The vector should be of length vocabSize, with counts for each term (word).
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Source:
Returns:
setK(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
integer |
- Source:
Returns:
setKeepLastCheckpoint(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Returns:
setLearningDecay(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
float |
- Source:
Returns:
setLearningOffset(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
float |
- Source:
Returns:
setMaxIter(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
integer |
- Source:
Returns:
setOptimizeDocConcentration(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Returns:
setOptimizer(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Source:
Returns:
setSeed(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
integer |
- Source:
Returns:
setSubsamplingRate(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
float |
- Source:
Returns:
setTopicConcentration(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
float |
- Source:
Returns:
setTopicDistributionCol(value) → {module:eclairjs/mllib/clustering.LDA}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Source:
Returns:
transformSchema(schema) → {StructType}
Parameters:
Name | Type | Description |
---|---|---|
schema |
StructType |
- Overrides:
- Source:
Returns:
- Type
- StructType
uid() → {string}
An immutable unique ID for the object and its derivatives.
- Source:
Returns:
- Type
- string