1 write to _parent
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
605_parent = parent;
22 references to _parent
Microsoft.ML.Transforms (22)
Dracula\CountTableTransformer.cs (22)
611var outputCols = new DataViewSchema.DetachedColumn[_parent.ColumnPairs.Length]; 612for (int i = 0; i < _parent.ColumnPairs.Length; i++) 614var inputCol = InputSchema[_parent.ColumnPairs[i].inputColumnName]; 616Host.Check((long)valueCount * _parent.Featurizer.NumFeatures < int.MaxValue, "Too large output size"); 617var type = new VectorDataViewType(NumberDataViewType.Single, valueCount, _parent.Featurizer.NumFeatures); 625outputCols[i] = new DataViewSchema.DetachedColumn(_parent.ColumnPairs[i].outputColumnName, type, builder.ToAnnotations()); 628outputCols[i] = new DataViewSchema.DetachedColumn(_parent.ColumnPairs[i].outputColumnName, type); 635Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 652_parent.Featurizer.GetFeatureNames(_parent._labelClassNames, ref featureNames); 675if (input.Schema[_parent.ColumnPairs[iinfo].inputColumnName].Type is VectorDataViewType) 682Host.Assert(_parent.Featurizer.SlotCount[iinfo] == 1); 684var srcGetter = input.GetGetter<uint>(input.Schema[_parent.ColumnPairs[iinfo].inputColumnName]); 685var outputLength = _parent.Featurizer.NumFeatures; 686var rand = _addNoise ? new Random(_parent.Seeds[iinfo]) : null; 687var featurizer = _parent.Featurizer; 699var inputCol = input.Schema[_parent.ColumnPairs[iinfo].inputColumnName]; 701Host.Assert(_parent.Featurizer.SlotCount[iinfo] == n); 704var outputLength = _parent.Featurizer.NumFeatures; 706var rand = _addNoise ? new Random(_parent.Seeds[iinfo]) : null; 715_parent.Featurizer.GetFeatures(iinfo, i, rand, srcValues[i], editor.Values.Slice(i * outputLength, outputLength)); 725_parent.Featurizer.GetFeatures(iinfo, index, rand, srcValues[i], editor.Values.Slice(index * outputLength, outputLength));