Esempio n. 1
0
            public void Read(ModelLoadContext ctx, IHost host)
            {
                seed = ctx.Reader.ReadInt32();
                string sr = ctx.Reader.ReadString();

                columns = Column1x1.ParseMulti(sr);
            }
Esempio n. 2
0
            public void Read(ModelLoadContext ctx, IHost host)
            {
                string sr = ctx.Reader.ReadString();

                columns = Column1x1.ParseMulti(sr);
                scaling = (ScalerStrategy)ctx.Reader.ReadInt32();
            }
Esempio n. 3
0
            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);
            }
Esempio n. 4
0
            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;
            }