public XorDataSetGenerator() { InputDimension = 2; OutputDimension = 1; LossTraining = new LossSumOfSquares(); LossReporting = new LossSumOfSquares(); Training = GetTrainingData(); Validation = GetTrainingData(); Testing = GetTrainingData(); }
public CustomDataSet(Config config) { Training = CreateSequences(config.RnnTrainXFile, config.RnnTrainYFile); Validation = CreateSequences(config.RnnValidXFile, config.RnnValidYFile); Testing = CreateSequences(config.RnnTestXFile, config.RnnTestYFile); InputDimension = Training[0].Steps[0].Input.Rows; OutputDimension = Training[0].Steps[0].TargetOutput.Rows; LossTraining = new LossSumOfSquares(); LossReporting = new LossSumOfSquares(); }