2 writes to _transformer
Microsoft.ML.Transforms (2)
OneHotHashEncoding.cs (2)
172
_transformer
= hash.Append(keyToVector).Fit(input);
174
_transformer
= new TransformerChain<ITransformer>(hash.Fit(input));
5 references to _transformer
Microsoft.ML.Transforms (5)
OneHotHashEncoding.cs (5)
180
public DataViewSchema GetOutputSchema(DataViewSchema inputSchema) =>
_transformer
.GetOutputSchema(inputSchema);
186
public IDataView Transform(IDataView input) =>
_transformer
.Transform(input);
188
void ICanSaveModel.Save(ModelSaveContext ctx) => (
_transformer
as ICanSaveModel).Save(ctx);
193
bool ITransformer.IsRowToRowMapper => ((ITransformer)
_transformer
).IsRowToRowMapper;
198
IRowToRowMapper ITransformer.GetRowToRowMapper(DataViewSchema inputSchema) => ((ITransformer)
_transformer
).GetRowToRowMapper(inputSchema);