void Initialize() { performanceCounter = new ProcessPerformanceCounter(); // Create fuzzy art map network. network = new SimplifiedFuzzyARTMap(Parameter.InputSize * 2, Parameter.NoOfClasses * 2, Parameter.ArtABasedVigilance, Parameter.ChoicingParam, Parameter.ArtABeta); network.FastCommitedSlowLearningOption = true; // Analyze max-min of input columns AnalyzeMaxMin(); // Initialize inputtransformers level 1 inputTransformers1 = new DataTransformChain[Parameter.InputSize]; InitializeInputDataTransform(inputTransformers1, Parameter.InputSize); // inputtransformation level 2 inputTransformers2 = new DataTransformChain(); inputTransformers2.AppendDataTransform(new ComplementDataTransform(1.0)); // Target column targetTransform = new DataTransformChain(); targetTransform.AppendDataTransform(new OneOfNDataTransform(Parameter.NoOfClasses)); targetTransform.AppendDataTransform(new ComplementDataTransform(1.0)); // Output transform outputTransformers = new DataTransformChain(); outputTransformers.AppendDataTransform(new UnComplementDataTransform()); outputTransformers.AppendDataTransform(new ReverseOneOfNDataTransform(Parameter.NoOfClasses)); }
void Initialize() { performanceCounter = new ProcessPerformanceCounter(); if (param.Mode == ProcessModifiedHybridFuzzyARTMapMode.INTERNAL || param.Mode == ProcessModifiedHybridFuzzyARTMapMode.DUAL) { mfartmap = new ModifiedFuzzyARTMap(param.InputSize, param.NoOfClasses, param.ChoicingParam, param.ArtABasedVigilance, param.MaximumEntropy, param.MaximumTotalEntropy, param.VigilanceAdjustRate, param.ArtABeta); } else { fartmap = new SimplifiedFuzzyARTMap(2 * param.InputSize, 2 * param.NoOfClasses, param.ArtABasedVigilance, param.ChoicingParam, param.ArtABeta); } if (param.Mode == ProcessModifiedHybridFuzzyARTMapMode.EXTERNAL || param.Mode == ProcessModifiedHybridFuzzyARTMapMode.DUAL) { mcoa = new ModifiedClusteringOrderingAlgorithms(param.NoOfClasses); } // Analyze max-min of input columns AnalyzeMaxMin(); // Initialize inputtransformers level 1 inputTransformers1 = new DataTransformChain[Parameter.InputSize]; InitializeInputDataTransform(inputTransformers1, Parameter.InputSize); // inputtransformation level 2 inputTransformers2 = new DataTransformChain(); inputTransformers2.AppendDataTransform(new ComplementDataTransform(1.0)); // Target column targetTransform = new DataTransformChain(); targetTransform.AppendDataTransform(new OneOfNDataTransform(Parameter.NoOfClasses)); targetTransform.AppendDataTransform(new ComplementDataTransform(1.0)); // Output transform outputTransformers = new DataTransformChain(); outputTransformers.AppendDataTransform(new UnComplementDataTransform()); outputTransformers.AppendDataTransform(new ReverseOneOfNDataTransform(Parameter.NoOfClasses)); }
void Initialize() { performanceCounter = new ProcessPerformanceCounter(); if (param.Mode == ProcessModifiedHybridFuzzyARTMapMode.INTERNAL || param.Mode == ProcessModifiedHybridFuzzyARTMapMode.DUAL) { mfartmap = new ModifiedFuzzyARTMap(param.InputSize, param.NoOfClasses, param.ChoicingParam, param.ArtABasedVigilance, param.MaximumEntropy, param.MaximumTotalEntropy, param.VigilanceAdjustRate, param.ArtABeta); } else { fartmap = new SimplifiedFuzzyARTMap(2*param.InputSize, 2*param.NoOfClasses, param.ArtABasedVigilance, param.ChoicingParam, param.ArtABeta); } if (param.Mode == ProcessModifiedHybridFuzzyARTMapMode.EXTERNAL || param.Mode == ProcessModifiedHybridFuzzyARTMapMode.DUAL) { mcoa = new ModifiedClusteringOrderingAlgorithms(param.NoOfClasses); } // Analyze max-min of input columns AnalyzeMaxMin(); // Initialize inputtransformers level 1 inputTransformers1 = new DataTransformChain[Parameter.InputSize]; InitializeInputDataTransform(inputTransformers1, Parameter.InputSize); // inputtransformation level 2 inputTransformers2 = new DataTransformChain(); inputTransformers2.AppendDataTransform(new ComplementDataTransform(1.0)); // Target column targetTransform = new DataTransformChain(); targetTransform.AppendDataTransform(new OneOfNDataTransform(Parameter.NoOfClasses)); targetTransform.AppendDataTransform(new ComplementDataTransform(1.0)); // Output transform outputTransformers = new DataTransformChain(); outputTransformers.AppendDataTransform(new UnComplementDataTransform()); outputTransformers.AppendDataTransform(new ReverseOneOfNDataTransform(Parameter.NoOfClasses)); }