public void Read(ModelLoadContext ctx, IHost host) { seed = ctx.Reader.ReadInt32(); string sr = ctx.Reader.ReadString(); columns = Column1x1.ParseMulti(sr); }
public void Read(ModelLoadContext ctx, IHost host) { string sr = ctx.Reader.ReadString(); columns = Column1x1.ParseMulti(sr); scaling = (ScalerStrategy)ctx.Reader.ReadInt32(); }
public void Read(ModelLoadContext ctx, IHost host) { string sr = ctx.Reader.ReadString(); columns = Column1x1.ParseMulti(sr); timeColumn = ctx.Reader.ReadString(); var opt = ctx.Reader.ReadString(); optim = new ScikitSubComponent <ITrainer, SignatureRegressorTrainer>(opt); }
public void Read(ModelLoadContext ctx, IHost host) { string sr = ctx.Reader.ReadString(); columns = Column1x1.ParseMulti(sr); degree = ctx.Reader.ReadInt32(); int nb = ctx.Reader.ReadInt32(); numThreads = nb > 0 ? (int?)nb : null; }