org.knowceans.corpus.parsers.nips
Class NipsAtm
java.lang.Object
org.knowceans.corpus.parsers.nips.NipsAtm
public class NipsAtm
- extends java.lang.Object
NipsAll is a metadriver for topic extraction of the NIPS data set. It uses
the data extracted by Roweis (instead of those by the classes in this
package) to be comparable to the literature.
- Author:
- gregor
Field Summary |
private static java.lang.String |
basedir
|
private static java.lang.String |
corpusbase
|
private static java.lang.String |
corpusdir
|
private static java.lang.String |
corpusname
|
private static java.lang.String |
corpusparams
|
private static java.lang.String |
ldabase
|
private static java.lang.String |
ldadir
|
private static java.lang.String |
ldaname
|
Method Summary |
private static void |
analyseTopics()
|
private static boolean |
createDir(java.lang.String name)
Create a directory if it does not exist. |
private static void |
extractTopics(int K,
double alpha,
double beta,
int iterations)
|
static void |
main(java.lang.String[] args)
|
private static void |
run(int K,
double alpha,
double beta,
int iterations,
boolean doextraction,
boolean doanalysis)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
corpusbase
private static java.lang.String corpusbase
ldaname
private static java.lang.String ldaname
corpusdir
private static java.lang.String corpusdir
ldadir
private static java.lang.String ldadir
ldabase
private static java.lang.String ldabase
basedir
private static java.lang.String basedir
corpusname
private static java.lang.String corpusname
corpusparams
private static java.lang.String corpusparams
NipsAtm
public NipsAtm()
main
public static void main(java.lang.String[] args)
run
private static void run(int K,
double alpha,
double beta,
int iterations,
boolean doextraction,
boolean doanalysis)
extractTopics
private static void extractTopics(int K,
double alpha,
double beta,
int iterations)
analyseTopics
private static void analyseTopics()
createDir
private static boolean createDir(java.lang.String name)
- Create a directory if it does not exist.
- Parameters:
name
-