예제 #1
0
        public TraModel()
        {
            this.PropertyChanged += TraModel_PropertyChanged;

            trained = false;

            _selectionTrainingPackage = new TrainingPackage();
            _selectedTrainingSets = new ObservableCollection<DataSet>();
            _progressLog = new ProgressLog();

            _selectedTrainingSets.CollectionChanged += _selectedTrainingSets_CollectionChanged;
        }
예제 #2
0
        /// <summary>
        /// Performs initialization functions common to all constructors
        /// </summary>
        private void Init()
        {
            this.PropertyChanged += PatternRecognizer_PropertyChanged;

            _progressLog = new ProgressLog();
            activationFunctionIdx = -1;
            normalizerIdx = -1;
            _converter = new ClassifToMovCodeConverter();
            activationTolerance = 0.1;
        }