public override IEstimator <ITransformer> BuildFromOption(MLContext context, ConvertTypeOption param) { var inputOutputPairs = AutoMlUtils.CreateInputOutputColumnPairsFromStrings(param.InputColumnNames, param.OutputColumnNames); return(context.Transforms.Conversion.ConvertType(inputOutputPairs)); }
public override IEstimator <ITransformer> BuildFromOption(MLContext context, ReplaceMissingValueOption param) { var inputOutputPairs = AutoMlUtils.CreateInputOutputColumnPairsFromStrings(param.InputColumnNames, param.OutputColumnNames); return(context.Transforms.ReplaceMissingValues(inputOutputPairs)); }
public override IEstimator <ITransformer> BuildFromOption(MLContext context, OneHotOption param) { var inputOutputPairs = AutoMlUtils.CreateInputOutputColumnPairsFromStrings(param.InputColumnNames, param.OutputColumnNames); return(context.Transforms.Categorical.OneHotEncoding(inputOutputPairs)); }