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