Example #1
0
 internal static extern void TestOneDocDense(LdaEngine engine, int[] termFreq, int termNum, int[] pTopics, int[] pProbs, ref int numTopicsMax, int numBurninIter, bool reset);
Example #2
0
 internal static extern void InitializeBeforeTest(LdaEngine engine);
Example #3
0
 internal static extern void GetDocTopic(LdaEngine engine, int docId, int[] pTopic, int[] pProb, ref int numTopicReturn);
Example #4
0
 internal static extern void GetTopicSummary(LdaEngine engine, int topicId, int[] pWords, float[] pProb, ref int numTopicReturn);
Example #5
0
 internal static extern void SetAlphaSum(LdaEngine engine, float avgDocLength);
Example #6
0
 internal static extern int FeedInDataDense(LdaEngine engine, int[] termFreq, int termNum, int numVocab);
Example #7
0
 internal static extern void DestroyEngine(LdaEngine engine);
Example #8
0
 internal static extern void SetWordTopic(LdaEngine engine, int wordId, int[] pTopic, int[] pProb, int length);
Example #9
0
 internal static extern void CleanData(LdaEngine engine);
Example #10
0
 internal static extern void CleanModel(LdaEngine engine);
Example #11
0
 internal static extern void Test(LdaEngine engine, int numBurninIter, float[] pLogLikelihood);
Example #12
0
 internal static extern void GetModelStat(LdaEngine engine, out long memBlockSize, out long aliasMemBlockSize);
Example #13
0
 internal static extern void Train(LdaEngine engine, string trainOutput);
Example #14
0
 internal static extern void AllocateDataMemory(LdaEngine engine, int docNum, long corpusSize);
Example #15
0
 internal static extern void AllocateModelMemory(LdaEngine engine, int numTopic, int numVocab, long tableSize, long aliasTableSize);