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