示例#1
0
 public MNISTViewModel(ExceptionLogDataAccess exceptionLogging)
 {
     ConfigureHeaderControl(true, true, Properties.MNISTResource.Title,
                            true, Properties.MNISTResource.Description);
     _exceptionLogging = exceptionLogging;
     InitialiseMNISTDataset();
 }
 public ExceptionLogViewModel(ExceptionLogDataAccess exceptionLogging)
 {
     ConfigureHeaderControl(true, true, Properties.ExceptionLogResource.Title);
     _exceptionLogging = exceptionLogging;
     IsModalVisible    = true;
     Task.Run(() => SetExceptions());
 }
 public WideDeepViewModel(ExceptionLogDataAccess exceptionLogging)
 {
     ConfigureHeaderControl(true, true, Properties.WideDeepResource.Title, true,
                            Properties.WideDeepResource.Description);
     _exceptionLogging = exceptionLogging;
     ExecuteCMDCommands.outputHandler = OutputHandler;
     GetPredictions();
     GetPredictionResults();
     CreateConfigurationFile();
 }
示例#4
0
        public PerformanceIndicatorViewModel(ExceptionLogDataAccess exceptionLogging)
        {
            _exceptionLogDataAccess = exceptionLogging;
            ConfigureHeaderControl(true, true, Properties.PerformanceIndicatorResource.Title, true,
                                   Properties.PerformanceIndicatorResource.Description);
            var configuration = XMLWriterReader.DeserialiseObject(CurrentDirectory.GetAssetsDirectoryFolder(@"XMLFiles\PIWeightConfiguration.xml"),
                                                                  typeof(List <PerformanceIndicatorEntity>));

            if (configuration != null)
            {
                WeightConfiguration = new ObservableCollection <PerformanceIndicatorEntity>((ICollection <PerformanceIndicatorEntity>)configuration);
            }

            GetSavedExperimentResults();
        }
 public DynamicFunctions(ExceptionLogDataAccess exceptionLogDataAccess)
 {
     _exceptionLogDataAccess = exceptionLogDataAccess;
 }
 public PeopleDetectionViewModel(ExceptionLogDataAccess exceptionLogDataAccess)
 {
     ConfigureHeaderControl(true, true, Properties.PeopleDetectionResource.Title);
     ImageSource             = BitmapConverter.ConvertBitmap(Properties.Resources.ImagePlaceholder);
     _exceptionLogDataAccess = exceptionLogDataAccess;
 }
 public CleanDataViewModel(ExceptionLogDataAccess exceptionLogDataAccess, DynamicFunctions dynamicFunctions)
 {
     _exceptionLogDataAccess = exceptionLogDataAccess;
     _dynamicFunctions       = dynamicFunctions;
 }
 public ObjectRecognitionViewModel(ExceptionLogDataAccess exceptionLogDataAccess)
 {
     ConfigureHeaderControl(true, true, Properties.ObjectRecognitionResource.Title);
     FileSource = BitmapFrame.Create(BitmapConverter.CreateBitmapSourceFromBitmap(Properties.Resources.ImagePlaceholder));
     _exceptionLogDataAccess = exceptionLogDataAccess;
 }
 public TrainDatasetViewModel(ExceptionLogDataAccess exceptionLogDataAccess)
 {
     _exceptionLogDataAccess = exceptionLogDataAccess;
 }