예제 #1
0
        public override ILearnAlgorithmConf getConf(int CountFeatures)
        {
            DBSConfig conf = new DBSConfig();

            conf.Init(CountFeatures);
            return(conf);
        }
예제 #2
0
        public virtual void Init(ILearnAlgorithmConf conf)
        {
            config = conf as DBSConfig;
            iter   = ((DBSConfig)conf).iter;
            N      = ((DBSConfig)conf).N;
            m      = ((DBSConfig)conf).m;
            F      = ((DBSConfig)conf).F;

            p_one        = ((DBSConfig)conf).p_one;
            p_one_center = ((DBSConfig)conf).p_one_center;
            p_two_center = ((DBSConfig)conf).p_two_center;
            p            = ((DBSConfig)conf).p;
        }