public IidAnomalyDetectionBase(IHostEnvironment env, ModelLoadContext ctx, string name, IidAnomalyDetectionBaseWrapper parent) : base(env, ctx, name) { Host.CheckDecode(InitialWindowSize == 0); StateRef = new State(ctx.Reader); StateRef.InitState(this, Host); Parent = parent; }
public IidAnomalyDetectionBase(ArgumentsBase args, string name, IHostEnvironment env, IidAnomalyDetectionBaseWrapper parent) : base(args, name, env) { InitialWindowSize = 0; StateRef = new State(); StateRef.InitState(WindowSize, InitialWindowSize, this, Host); Parent = parent; }