3 references to Weights
Microsoft.ML.TimeSeries (3)
MovingAverageTransform.cs (3)
75
_weights = string.IsNullOrWhiteSpace(args.
Weights
) ? null : args.
Weights
.Split(',').Select(c => Convert.ToSingle(c)).ToArray();
77
throw Host.ExceptUserArg(nameof(args.
Weights
), string.Format("{0} weights are provided, but {1} are expected (or none)'", Utils.Size(_weights), args.WindowSize));