コード例 #1
0
ファイル: PoptvrSystem.cs プロジェクト: Kiza/POPTVR_WPF
 public PoptvrSystem(DataSet dataset, ClusterSetting clusterSetting, ClusterFacadeInterface clusterFacade, Settings settings)
 {
     this.dataset = dataset;
     this.clusterSetting = clusterSetting;
     this.clusterFacade = clusterFacade;
     this.appConfig = new AppConfig(settings);
 }
コード例 #2
0
ファイル: PoptvrModel.cs プロジェクト: Kiza/POPTVR_WPF
        public PoptvrModel(DataSet dataset, ClusterSetting clusterSetting)
        {
            this.dataset = dataset;
            this.clusterSetting = clusterSetting;

            this.numberOfInputs = this.dataset.NumberOfInputNodes;
            this.numberOfOutputs = this.dataset.NumberOfOutputNodes;

            this.inputClusterSize = this.clusterSetting.InputClusterSize;
            this.outputClusterSize = this.clusterSetting.OutputClusterSize;

            buildRULES();
	        buildPOPTVR();
        }  
コード例 #3
0
ファイル: MlvqFacade.cs プロジェクト: Kiza/POPTVR
 public MlvqFacade(DataSet dataset, ClusterSetting clusterSetting)
 {
     this.clusterSetting = clusterSetting;
     this.dataset = dataset;
 }
コード例 #4
0
ファイル: ClusterSetting.cs プロジェクト: Kiza/POPTVR_WPF
        public static ClusterSetting getClusterSettings(Settings settings)
        {
            int inpuClusterSize = settings.InputClusterSize;
            int outputClusterSize = settings.OutputClusterSize;

            int maxTrainCycleNumber = settings.MaxTrainCycleNumber;
            int printOutInterval = settings.PrintOutInterval;
            double widthConstant = settings.WidthConstant;
            double maxError = settings.MaxError;
            double learningRate = settings.LearningRate;

            ClusterSetting clusterSetting = new ClusterSetting(inpuClusterSize, outputClusterSize, maxTrainCycleNumber, printOutInterval, widthConstant, maxError, learningRate);
            return clusterSetting;
        }
コード例 #5
0
ファイル: ClusterSetting.cs プロジェクト: Kiza/POPTVR
        public static ClusterSetting getClusterSettings()
        {
            int inpuClusterSize = AppConfig.getInputClusterSize();
            int outputClusterSize = AppConfig.getOutputClusterSize();
            int maxTrainCycleNumber = AppConfig.getMaxTrainCycleNumber();
            int printOutInterval = AppConfig.getPrintOutInterval();
            double widthConstant = AppConfig.getWidthConstant();
            double maxError = AppConfig.getMaxError();
            double learningRate = AppConfig.getLearningRate();

            ClusterSetting clusterSetting = new ClusterSetting(inpuClusterSize, outputClusterSize, maxTrainCycleNumber, printOutInterval, widthConstant, maxError, learningRate);
            return clusterSetting;
        }
コード例 #6
0
ファイル: PoptvrSystem.cs プロジェクト: Kiza/POPTVR
 public PoptvrSystem(DataSet dataset, ClusterSetting clusterSetting, ClusterFacadeInterface clusterFacade)
 {
     this.dataset = dataset;
     this.clusterSetting = clusterSetting;
     this.clusterFacade = clusterFacade;
 }