2 instantiations of ModelParameters
Microsoft.ML.Transforms (2)
Text\LdaTransform.cs (2)
352
return new
ModelParameters
(itemScoresPerTopicBuilder.ToImmutable());
369
return new
ModelParameters
(wordScoresPerTopicBuilder.ToImmutable());
10 references to ModelParameters
Microsoft.ML.IntegrationTests (1)
IntrospectiveTraining.cs (1)
195
var
ldaDetails = ldaTransform.GetLdaDetails(0);
Microsoft.ML.Transforms (9)
Text\LdaTransform.cs (9)
217
public
ModelParameters
GetLdaDetails(int columnIndex)
336
internal
ModelParameters
GetLdaSummary(VBuffer<ReadOnlyMemory<char>> mapping)
340
var itemScoresPerTopicBuilder = ImmutableArray.CreateBuilder<List<
ModelParameters
.ItemScore>>();
344
var itemScores = new List<
ModelParameters
.ItemScore>();
347
itemScores.Add(new
ModelParameters
.ItemScore(p.Key, p.Value));
357
var wordScoresPerTopicBuilder = ImmutableArray.CreateBuilder<List<
ModelParameters
.WordItemScore>>();
361
var wordScores = new List<
ModelParameters
.WordItemScore>();
365
wordScores.Add(new
ModelParameters
.WordItemScore(p.Key, slotName.ToString(), p.Value));
778
var
summary = GetLdaDetails(i);