1 write to _probabilities
Microsoft.ML.Transforms (1)
Text\LdaSingleBox.cs (1)
128
_probabilities
= new int[numTopic];
9 references to _probabilities
Microsoft.ML.Transforms (9)
Text\LdaSingleBox.cs (9)
186
LdaInterface.GetWordTopic(trainer._engine, wordId, _topics,
_probabilities
, ref length);
187
LdaInterface.SetWordTopic(_engine, wordId, _topics,
_probabilities
, length);
227
LdaInterface.GetDocTopic(_engine, docID, _topics,
_probabilities
, ref numTopicReturn);
241
topicRet.Add(new KeyValuePair<int, float>(_topics[i],
_probabilities
[i] + (float)_alpha));
246
topicRet.Add(new KeyValuePair<int, float>(_topics[i], (float)
_probabilities
[i]));
338
LdaInterface.GetWordTopic(_engine, wordId, _topics,
_probabilities
, ref length);
342
wordTopicVector[i] = new KeyValuePair<int, int>(_topics[i],
_probabilities
[i]);
362
Array.Copy(topicProb,
_probabilities
, topicNum);
363
LdaInterface.SetWordTopic(_engine, termID, _topics,
_probabilities
, topicNum);