/// <summary> /// /// </summary> public TrtModel() { _treatmentConfig = new TreatmentConfig(); _selectedFeatures = new ObservableCollection<string>(); _selectedFeatures.CollectionChanged += SelectedFeaturesChanged; _pipeline = new Pipeline(); _preTreatedFrames = new ObservableCollection<Frame>(); }
public WindowMaker(TreatmentConfig treatmentConfig) : base(20, true, true) { this.config = treatmentConfig; }
public void Copy(TreatmentConfig sourceConfig) { contractionTimePercentage = sourceConfig.contractionTimePercentage; if (features == null) features = new List<string>(); else features.Clear(); if(sourceConfig.features!=null) foreach (string item in sourceConfig.features) { features.Add(item); } sampleFreq = sourceConfig.sampleFreq; trainingSetSize = sourceConfig.trainingSetSize; validationSetSize = sourceConfig.validationSetSize; windowLength = sourceConfig.windowLength; windowOffset = sourceConfig.windowOffset; }
public WindowMaker(TreatmentConfig treatmentConfig, Recording usedRecording) : base(20, true, true) { this.config = treatmentConfig; this.recording = usedRecording; }