4 instantiations of MissingValueReplacingTransformer
Microsoft.ML.Transforms (4)
MissingValueReplacing.cs (4)
451
return new
MissingValueReplacingTransformer
(env, input, cols).MakeDataTransform(input);
456
return new
MissingValueReplacingTransformer
(env, input, columns).MakeDataTransform(input);
468
return new
MissingValueReplacingTransformer
(host, ctx);
1061
public MissingValueReplacingTransformer Fit(IDataView input) => new
MissingValueReplacingTransformer
(_host, input, _columns);
42 references to MissingValueReplacingTransformer
Microsoft.ML.Samples (4)
Dynamic\Transforms\ReplaceMissingValues.cs (2)
39
var
defaultTransformer = defaultPipeline.Fit(data);
70
var
meanTransformer = meanPipeline.Fit(data);
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (2)
45
var
defaultTransformer = defaultPipeline.Fit(data);
81
var
meanTransformer = meanPipeline.Fit(data);
Microsoft.ML.Transforms (38)
MissingValueHandlingTransformer.cs (1)
237
output =
MissingValueReplacingTransformer
.Create(env, output ?? input, replaceCols.ToArray());
MissingValueReplacing.cs (32)
21
[assembly: LoadableClass(
MissingValueReplacingTransformer
.Summary, typeof(IDataTransform), typeof(
MissingValueReplacingTransformer
), typeof(
MissingValueReplacingTransformer
.Options), typeof(SignatureDataTransform),
22
MissingValueReplacingTransformer
.FriendlyName,
MissingValueReplacingTransformer
.LoadName, "NAReplace",
MissingValueReplacingTransformer
.ShortName, DocName = "transform/NAHandle.md")]
24
[assembly: LoadableClass(
MissingValueReplacingTransformer
.Summary, typeof(IDataTransform), typeof(
MissingValueReplacingTransformer
), null, typeof(SignatureLoadDataTransform),
25
MissingValueReplacingTransformer
.FriendlyName,
MissingValueReplacingTransformer
.LoadName)]
27
[assembly: LoadableClass(
MissingValueReplacingTransformer
.Summary, typeof(
MissingValueReplacingTransformer
), null, typeof(SignatureLoadModel),
28
MissingValueReplacingTransformer
.FriendlyName,
MissingValueReplacingTransformer
.LoadName)]
30
[assembly: LoadableClass(typeof(IRowMapper), typeof(
MissingValueReplacingTransformer
), null, typeof(SignatureLoadRowMapper),
31
MissingValueReplacingTransformer
.FriendlyName,
MissingValueReplacingTransformer
.LoadName)]
41
private static readonly FuncInstanceMethodInfo1<
MissingValueReplacingTransformer
, DataViewType, Array, BitArray> _computeDefaultSlotsMethodInfo
42
= FuncInstanceMethodInfo1<
MissingValueReplacingTransformer
, DataViewType, Array, BitArray>.Create(target => target.ComputeDefaultSlots<int>);
132
private static readonly FuncInstanceMethodInfo1<
MissingValueReplacingTransformer
, DataViewType, Delegate> _getIsNADelegateMethodInfo
133
= FuncInstanceMethodInfo1<
MissingValueReplacingTransformer
, DataViewType, Delegate>.Create(target => target.GetIsNADelegate<int>);
147
loaderAssemblyName: typeof(
MissingValueReplacingTransformer
).Assembly.FullName);
211
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
MissingValueReplacingTransformer
)), GetColumnPairs(columns))
460
private static
MissingValueReplacingTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
549
private readonly
MissingValueReplacingTransformer
_parent;
556
public Mapper(
MissingValueReplacingTransformer
parent, DataViewSchema inputSchema)
904
/// <see cref="IEstimator{TTransformer}"/> for the <see cref="
MissingValueReplacingTransformer
"/>.
926
public sealed class MissingValueReplacingEstimator : IEstimator<
MissingValueReplacingTransformer
>
1003
/// This constructor is used internally to convert from <see cref="
MissingValueReplacingTransformer
.Options"/> to <see cref="ColumnOptions"/>
1042
string reason =
MissingValueReplacingTransformer
.TestType(col.ItemType);
1059
/// Trains and returns a <see cref="
MissingValueReplacingTransformer
"/>.
1061
public
MissingValueReplacingTransformer
Fit(IDataView input) => new MissingValueReplacingTransformer(_host, input, _columns);
NAHandling.cs (5)
79
Desc =
MissingValueReplacingTransformer
.Summary,
80
UserName =
MissingValueReplacingTransformer
.FriendlyName,
81
ShortName =
MissingValueReplacingTransformer
.ShortName)]
82
public static CommonOutputs.TransformOutput Replace(IHostEnvironment env,
MissingValueReplacingTransformer
.Options input)
85
var xf =
MissingValueReplacingTransformer
.Create(h, input, input.Data);