public class CrossMixtureModel extends AbstractModel
Cross mixture topic model
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected IntSparseMatrix[] |
arrTopicReader |
protected double |
bkgCoefficient |
protected double[] |
bkgModel |
protected int |
collectionNum |
protected double |
comCoefficient |
protected int |
maxDocNum |
protected int |
maxTermNum |
protected int |
themeNum |
iterations, seed, statusOut| Constructor and Description |
|---|
CrossMixtureModel(IntSparseMatrix[] arrTopicMatrix,
int themeNum,
double[] bkgModel,
double bkgCoefficient,
double comCoefficient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
estimateModel() |
double[][] |
getCommonModels() |
double[][][] |
getDocMemberships() |
double[][][] |
getModels() |
protected void |
initialize(int maxTermNum,
int collectionNum,
int themeNum,
int maxDocNum,
double[][] arrCommonModel,
double[][][] arrModel,
double[][][] arrDocMembership) |
getBkgModel, getIterationNum, printStatus, setIterationNum, setRandomSeed, setStatusOutprotected IntSparseMatrix[] arrTopicReader
protected double[] bkgModel
protected double bkgCoefficient
protected double comCoefficient
protected int themeNum
protected int collectionNum
protected int maxTermNum
protected int maxDocNum
public CrossMixtureModel(IntSparseMatrix[] arrTopicMatrix, int themeNum, double[] bkgModel, double bkgCoefficient, double comCoefficient)
public double[][][] getModels()
public double[][] getCommonModels()
public double[][][] getDocMemberships()
public boolean estimateModel()
protected void initialize(int maxTermNum,
int collectionNum,
int themeNum,
int maxDocNum,
double[][] arrCommonModel,
double[][][] arrModel,
double[][][] arrDocMembership)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.