1 write to _parent
Microsoft.ML.Transforms (1)
Text\LdaTransform.cs (1)
570
_parent
= parent;
11 references to _parent
Microsoft.ML.Transforms (11)
Text\LdaTransform.cs (11)
571
_srcCols = new int[
_parent
.ColumnPairs.Length];
573
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
575
if (!inputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out _srcCols[i]))
576
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input",
_parent
.ColumnPairs[i].inputColumnName);
581
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input",
_parent
.ColumnPairs[i].inputColumnName, "known-size vector of Single", srcCol.Type.ToString());
587
var result = new DataViewSchema.DetachedColumn[
_parent
.ColumnPairs.Length];
588
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
590
var info =
_parent
._columns[i];
591
result[i] = new DataViewSchema.DetachedColumn(
_parent
.ColumnPairs[i].outputColumnName, new VectorDataViewType(NumberDataViewType.Single, info.NumberOfTopics), null);
599
Contracts.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
609
var lda =
_parent
._ldas[iinfo];