Changeset 7405 for branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionGenerator
- Timestamp:
- 01/24/12 16:23:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionGenerator/RegressionBenchmark.cs
r7336 r7405 109 109 return newCombinations.ToList(); 110 110 } 111 112 public static List<double> GenerateUniformIntegerDistribution(List<int> classes, int amount) {113 List<double> values = new List<double>();114 for (int i = 0; i < amount; i++) {115 values.Add(rand.Next(0, classes.Count));116 }117 return values;118 }119 111 } 120 112 }
Note: See TracChangeset
for help on using the changeset viewer.