public override void Initialize(string name, XmlElement xmlConfig) { base.Initialize(name, xmlConfig); _dataset = CreateDataset(); _dataset.LoadFromFile(DatasetFileName); }
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(); }
public ClassificationEvaluator(IClassificationDataset dataset, Phenotype phenotype, IEnumerable<double> weights) { this.dataset = dataset; this.phenotype = phenotype; this._weights = weights; }
/// <summary> /// Construct evaluator with the provided task arguments/variables. /// IMPORTANT : only for use with Test ! /// </summary> public ClassificationEvaluator(IClassificationDataset dataset, Phenotype phenotype) { this.dataset = dataset; this._weights = null; this.phenotype = phenotype; }
public ClassificationEvaluator(IClassificationDataset dataset, Phenotype phenotype, IEnumerable <double> weights) { this.dataset = dataset; this.phenotype = phenotype; this._weights = weights; }
/// <summary> /// Construct evaluator with the provided task arguments/variables. /// IMPORTANT : only for use with Test ! /// </summary> public ClassificationEvaluator(IClassificationDataset dataset, Phenotype phenotype) { this.dataset = dataset; this._weights = null; this.phenotype = phenotype; }