protected override IEnumerable <Tuple <int, double> > GenerateTest() { var x0 = ValueGenerator.GenerateUniformDistributedValues(1000, -100, 100, rand).ToList(); var x1 = ValueGenerator.GenerateUniformDistributedValues(1000, -100.0, 100.0, rand).ToList(); return(x0.Zip(x1, (first, second) => new Tuple <int, double>(first, second))); }
protected override IEnumerable <List <int> > GenerateTest() { var sizes = ValueGenerator.GenerateUniformDistributedValues(1000, 1, 20, rand).ToList(); var x0 = ValueGenerator.GenerateUniformDistributedLists(1000, sizes, -256, 255, rand).ToList(); return(x0); }
protected override IEnumerable <Tuple <int, List <int> > > GenerateTest() { var x0 = ValueGenerator.GenerateUniformDistributedValues(1000, 1, 19, rand).ToList(); var x1 = GetRandom(100, rand, x0).ToList(); return(x0.Zip(x1, (first, second) => new Tuple <int, List <int> >(first, second)).ToList()); }
private IEnumerable <IEnumerable <double> > GetVectorsOfLenght(int n, int length) { for (int i = 0; i < n; i++) { yield return(ValueGenerator.GenerateUniformDistributedValues(length, -1000.0, 1000.0, rand)); } }
private IEnumerable <IEnumerable <double> > GetVecotrsOfVariableLenght(int n, FastRandom rand) { for (int i = 0; i < n; i++) { yield return(ValueGenerator.GenerateUniformDistributedValues(rand.Next(1, 50 + 1), -1000.0, 1000.0, rand)); } }
protected override IEnumerable <Tuple <List <int>, List <int> > > GenerateTest() { var sizes = ValueGenerator.GenerateUniformDistributedValues(1000, 1, 20, rand).ToList(); var x0 = ValueGenerator.GenerateUniformDistributedLists(1000, sizes, -256, 255, rand).ToList(); var x1 = ValueGenerator.GenerateUniformDistributedLists(1000, sizes, -256, 255, rand).ToList(); return(x0.Zip(x1, (first, second) => new Tuple <List <int>, List <int> >(first, second)).ToList()); }
protected override IEnumerable <int> GenerateTest() { var x0 = Enumerable.Range(980, 40).ToList(); x0.AddRange(Enumerable.Range(1980, 40)); x0.AddRange(ValueGenerator.GenerateUniformDistributedValues(920, -10000, 10000, rand)); return(x0); }
protected override IEnumerable <int> GenerateTraining() { var x0 = new List <int>() { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 198, 199, 200 }; x0.AddRange(ValueGenerator.GenerateUniformDistributedValues(135, 1, 200, rand)); return(x0); }
protected override IEnumerable <int> GenerateTraining() { var x0 = new List <int>() { 1, 2, 3, 4, 5, 6, 15, 16, 17, 18, 36, 37, 64, 65, 9600, 9700, 9999 }; x0.AddRange(ValueGenerator.GenerateUniformDistributedValues(83, 1, 9999, rand).ToList()); return(x0); }
protected override IEnumerable <int> GenerateTraining() { var x0 = new List <int>(TrainingPartitionEnd) { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 6171, 6943, 7963, 9257, 9999, 10000 }; x0.AddRange(ValueGenerator.GenerateUniformDistributedValues(184, 1, 10000, rand)); return(x0); }
protected override IEnumerable <long> GenerateTraining() { var x0 = new List <long>() { -9495969798, -20008000, -777777, -9876, -482, -97, -20, 0, 19, 620, 24068, 512000, 8313227, 30000000, 9998887776 }; x0.AddRange(ValueGenerator.GenerateUniformDistributedValues(85, -9999999999, 9999999999, rand)); return(x0); }
protected override IEnumerable <int> GenerateTraining() { var x0 = new List <int>(1100) { -10000, 0, 980, 1020, 1980, 2020, 10000 }; x0.AddRange(Enumerable.Range(995, 10)); x0.AddRange(Enumerable.Range(1995, 10)); x0.AddRange(ValueGenerator.GenerateUniformDistributedValues(73, -10000, 10000, rand)); return(x0); }
protected override IEnumerable <int> GenerateTest() { return(ValueGenerator.GenerateUniformDistributedValues(50, 1, 200, rand).ToList()); }
protected override IEnumerable <long> GenerateTest() { return(ValueGenerator.GenerateUniformDistributedValues(1000, -9999999999, 9999999999, rand).ToList()); }