2 writes to Featurizer
Microsoft.ML.Transforms (2)
Dracula\CountTableTransformer.cs (2)
449Featurizer = featurizer; 554ctx.LoadModel<CountTargetEncodingFeaturizer, SignatureLoadModel>(host, out Featurizer, "Featurizer");
16 references to Featurizer
Microsoft.ML.Transforms (16)
Dracula\CountTableTransformer.cs (16)
105if (columns.Length != initial.Featurizer.PriorCoef.Length) 106throw Contracts.ExceptParam(nameof(columns), $"New estimator applied {columns.Length} columns, but old transformer applied to {initial.Featurizer.PriorCoef.Length} columns"); 111initial.Featurizer.PriorCoef[i], initial.Featurizer.LaplaceScale[i], initial.Seeds[i]); 154multiBuilder = _initialCounts.Featurizer.MultiCountTable.ToBuilder(_host, inputColumns, labelCardinality); 585ctx.SaveModel(Featurizer, "Featurizer"); 616Host.Check((long)valueCount * _parent.Featurizer.NumFeatures < int.MaxValue, "Too large output size"); 617var type = new VectorDataViewType(NumberDataViewType.Single, valueCount, _parent.Featurizer.NumFeatures); 652_parent.Featurizer.GetFeatureNames(_parent._labelClassNames, ref featureNames); 682Host.Assert(_parent.Featurizer.SlotCount[iinfo] == 1); 685var outputLength = _parent.Featurizer.NumFeatures; 687var featurizer = _parent.Featurizer; 701Host.Assert(_parent.Featurizer.SlotCount[iinfo] == n); 704var outputLength = _parent.Featurizer.NumFeatures; 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));