Esempio n. 1
0
        public override ILearnAlgorithmConf getConf(int CountFeatures)
        {
            ILearnAlgorithmConf result = new GreedyChoiceConfigMinus();

            result.Init(CountFeatures);
            return(result);
        }
Esempio n. 2
0
        public void init(IFuzzySystem FSystem, ILearnAlgorithmConf conf)
        {
            GreedyChoiceConfigMinus Config = conf as GreedyChoiceConfigMinus;

            SortWay    = Config.GCCSortWay;
            Storage    = new List <FeatureSelectionModel>(FSystem.CountFeatures);
            test       = new List <bool[]>();
            Errors     = new List <double>();
            BestSolute = new bool[FSystem.AcceptedFeatures.Count()];
            for (int i = 0; i < FSystem.CountFeatures; i++)
            {
                BestSolute[i] = true;
            }
        }