Exemple #1
0
 /// <summary>
 /// 
 /// </summary>
 public TrtModel()
 {
     _treatmentConfig = new TreatmentConfig();
     _selectedFeatures = new ObservableCollection<string>();
     _selectedFeatures.CollectionChanged += SelectedFeaturesChanged;
     _pipeline = new Pipeline();
     _preTreatedFrames = new ObservableCollection<Frame>();
 }
Exemple #2
0
 public WindowMaker(TreatmentConfig treatmentConfig)
     : base(20, true, true)
 {
     this.config = treatmentConfig;
 }
Exemple #3
0
        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;
        }
Exemple #4
0
 public WindowMaker(TreatmentConfig treatmentConfig, Recording usedRecording)
     : base(20, true, true)
 {
     this.config = treatmentConfig;
     this.recording = usedRecording;
 }