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