public override ILearnAlgorithmConf getConf(int CountFeatures) { ILearnAlgorithmConf result = new GreedyChoiceConfigPlus(); result.Init(CountFeatures); return(result); }
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; } }