Example #1
0
        public override ILearnAlgorithmConf getConf(int CountFeatures)
        {
            ILearnAlgorithmConf result = new GreedyChoiceConfigPlus();

            result.Init(CountFeatures);
            return(result);
        }
Example #2
0
        public void init(IFuzzySystem FSystem, ILearnAlgorithmConf conf)
        {
            GreedyChoiceConfigPlus Config = conf as GreedyChoiceConfigPlus;

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