public TraModel() { this.PropertyChanged += TraModel_PropertyChanged; trained = false; _selectionTrainingPackage = new TrainingPackage(); _selectedTrainingSets = new ObservableCollection<DataSet>(); _progressLog = new ProgressLog(); _selectedTrainingSets.CollectionChanged += _selectedTrainingSets_CollectionChanged; }
/// <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; }