public override void Initialize(string name, XmlElement xmlConfig)
        {
            base.Initialize(name, xmlConfig);

            _dataset = CreateDataset();
            _dataset.LoadFromFile(DatasetFileName);
        }
Example #2
0
        public override void Initialize(string name, XmlElement xmlConfig)
        {
            base.Initialize(name, xmlConfig);

            _dataset = CreateDataset();
            _dataset.LoadFromFile(DatasetFileName);
        }
        public OCRClassificationView(IGenomeDecoder <NeatGenome, IBlackBox> genomeDecoder, IClassificationDataset dataset, IViewableEvaluator evaluator)
            : this()
        {
            this.decoder   = genomeDecoder;
            this.dataset   = dataset;
            this.evaluator = evaluator;

            dataset.LoadFromFile(@"Datasets\semeion.samples.data");
            sampleCount = dataset.InputSamples.Count();
        }
        public OCRClassificationView(IGenomeDecoder<NeatGenome, IBlackBox> genomeDecoder, IClassificationDataset dataset, IViewableEvaluator evaluator)
            : this()
        {
            this.decoder = genomeDecoder;
            this.dataset = dataset;
            this.evaluator = evaluator;

            dataset.LoadFromFile(@"Datasets\semeion.samples.data");
            sampleCount = dataset.InputSamples.Count();
        }