SlidingWindowTransformBase.cs (8)
64: base(args.WindowSize + args.Lag - 1, args.WindowSize + args.Lag - 1, args.Name, args.Source, loaderSignature, env, input)
67Host.CheckUserArg(args.Lag >= 0, nameof(args.Lag), "Must be positive.");
68if (args.Lag == 0 && args.WindowSize <= 1)
71throw Host.ExceptUserArg(nameof(args.Lag),
72$"If {args.Lag}=0 and {args.WindowSize}=1, the transform just copies the column. Use {ColumnCopyingTransformer.LoaderSignature} transform instead.");
75_lag = args.Lag;