Changeset 18032
- Timestamp:
- 07/27/21 13:30:00 (3 years ago)
- Location:
- trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression
- Files:
-
- 122 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman1.cs
r17974 r18032 71 71 data.Add(f_noise); 72 72 }*/ 73 var targetNoise = GetNoisyTarget(f, rand);73 var targetNoise = ValueGenerator.GenerateNoise(f, rand, noiseRatio); 74 74 if (targetNoise != null) data.Add(targetNoise); 75 75 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman10.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(Ef, rand);70 var targetNoise = ValueGenerator.GenerateNoise(Ef, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman100.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(j, rand);72 var targetNoise = ValueGenerator.GenerateNoise(j, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman11.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(F, rand);68 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman12.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(F, rand);74 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman13.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(K, rand);72 var targetNoise = ValueGenerator.GenerateNoise(K, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman14.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(U, rand);74 var targetNoise = ValueGenerator.GenerateNoise(U, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman15.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(U, rand);70 var targetNoise = ValueGenerator.GenerateNoise(U, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman16.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(U, rand);68 var targetNoise = ValueGenerator.GenerateNoise(U, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman17.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(x1, rand);72 var targetNoise = ValueGenerator.GenerateNoise(x1, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman18.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(t1, rand);72 var targetNoise = ValueGenerator.GenerateNoise(t1, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman19.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(p, rand);70 var targetNoise = ValueGenerator.GenerateNoise(p, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman2.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(f, rand);68 var targetNoise = ValueGenerator.GenerateNoise(f, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman20.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(v1, rand);70 var targetNoise = ValueGenerator.GenerateNoise(v1, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman21.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(r, rand);72 var targetNoise = ValueGenerator.GenerateNoise(r, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman22.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(tau, rand);70 var targetNoise = ValueGenerator.GenerateNoise(tau, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman23.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(L, rand);72 var targetNoise = ValueGenerator.GenerateNoise(L, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman24.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(E_n, rand);72 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman25.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(Volt, rand);68 var targetNoise = ValueGenerator.GenerateNoise(Volt, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman26.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(theta1, rand);68 var targetNoise = ValueGenerator.GenerateNoise(theta1, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman27.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(foc, rand);70 var targetNoise = ValueGenerator.GenerateNoise(foc, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman28.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(k, rand);68 var targetNoise = ValueGenerator.GenerateNoise(k, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman29.cs
r17973 r18032 71 71 } 72 72 73 var targetNoise = GetNoisyTarget(x, rand);73 var targetNoise = ValueGenerator.GenerateNoise(x, rand, noiseRatio); 74 74 if (targetNoise != null) data.Add(targetNoise); 75 75 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman3.cs
r17973 r18032 69 69 } 70 70 71 var targetNoise = GetNoisyTarget(f, rand);71 var targetNoise = ValueGenerator.GenerateNoise(f, rand, noiseRatio); 72 72 if (targetNoise != null) data.Add(targetNoise); 73 73 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman30.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(Int, rand);70 var targetNoise = ValueGenerator.GenerateNoise(Int, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman31.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(theta, rand);70 var targetNoise = ValueGenerator.GenerateNoise(theta, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman32.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(Pwr, rand);72 var targetNoise = ValueGenerator.GenerateNoise(Pwr, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman33.cs
r17973 r18032 78 78 } 79 79 80 var targetNoise = GetNoisyTarget(Pwr, rand);80 var targetNoise = ValueGenerator.GenerateNoise(Pwr, rand, noiseRatio); 81 81 if (targetNoise != null) data.Add(targetNoise); 82 82 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman34.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(omega, rand);72 var targetNoise = ValueGenerator.GenerateNoise(omega, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman35.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(omega, rand);70 var targetNoise = ValueGenerator.GenerateNoise(omega, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman36.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(omega, rand);70 var targetNoise = ValueGenerator.GenerateNoise(omega, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman37.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(E_n, rand);68 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman38.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(Int, rand);70 var targetNoise = ValueGenerator.GenerateNoise(Int, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman39.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(r, rand);72 var targetNoise = ValueGenerator.GenerateNoise(r, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman4.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(d, rand);72 var targetNoise = ValueGenerator.GenerateNoise(d, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman40.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(E_n, rand);68 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman41.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman42.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(pr, rand);72 var targetNoise = ValueGenerator.GenerateNoise(pr, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman43.cs
r17973 r18032 74 74 } 75 75 76 var targetNoise = GetNoisyTarget(n, rand);76 var targetNoise = ValueGenerator.GenerateNoise(n, rand, noiseRatio); 77 77 if (targetNoise != null) data.Add(targetNoise); 78 78 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman44.cs
r17973 r18032 75 75 } 76 76 77 var targetNoise = GetNoisyTarget(L_rad, rand);77 var targetNoise = ValueGenerator.GenerateNoise(L_rad, rand, noiseRatio); 78 78 if (targetNoise != null) data.Add(targetNoise); 79 79 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman45.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(v, rand);72 var targetNoise = ValueGenerator.GenerateNoise(v, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman46.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(D, rand);70 var targetNoise = ValueGenerator.GenerateNoise(D, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman47.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(kappa, rand);72 var targetNoise = ValueGenerator.GenerateNoise(kappa, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman48.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(E_n, rand);74 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman49.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(c, rand);70 var targetNoise = ValueGenerator.GenerateNoise(c, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman5.cs
r17973 r18032 83 83 } 84 84 85 var targetNoise = GetNoisyTarget(F, rand);85 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 86 86 if (targetNoise != null) data.Add(targetNoise); 87 87 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman50.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman51.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(x, rand);72 var targetNoise = ValueGenerator.GenerateNoise(x, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman52.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(Pwr, rand);74 var targetNoise = ValueGenerator.GenerateNoise(Pwr, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman53.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(flux, rand);68 var targetNoise = ValueGenerator.GenerateNoise(flux, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman54.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(Volt, rand);70 var targetNoise = ValueGenerator.GenerateNoise(Volt, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman55.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(Volt, rand);72 var targetNoise = ValueGenerator.GenerateNoise(Volt, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman56.cs
r17973 r18032 75 75 } 76 76 77 var targetNoise = GetNoisyTarget(Ef, rand);77 var targetNoise = ValueGenerator.GenerateNoise(Ef, rand, noiseRatio); 78 78 if (targetNoise != null) data.Add(targetNoise); 79 79 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman57.cs
r17973 r18032 71 71 } 72 72 73 var targetNoise = GetNoisyTarget(Ef, rand);73 var targetNoise = ValueGenerator.GenerateNoise(Ef, rand, noiseRatio); 74 74 if (targetNoise != null) data.Add(targetNoise); 75 75 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman58.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman59.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(E_den, rand);68 var targetNoise = ValueGenerator.GenerateNoise(E_den, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman6.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(m, rand);70 var targetNoise = ValueGenerator.GenerateNoise(m, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman60.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(Ef, rand);70 var targetNoise = ValueGenerator.GenerateNoise(Ef, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman61.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(x, rand);74 var targetNoise = ValueGenerator.GenerateNoise(x, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman62.cs
r17973 r18032 74 74 } 75 75 76 var targetNoise = GetNoisyTarget(n, rand);76 var targetNoise = ValueGenerator.GenerateNoise(n, rand, noiseRatio); 77 77 if (targetNoise != null) data.Add(targetNoise); 78 78 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman63.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(Pol, rand);74 var targetNoise = ValueGenerator.GenerateNoise(Pol, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman64.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(Pol, rand);72 var targetNoise = ValueGenerator.GenerateNoise(Pol, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman65.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(theta, rand);68 var targetNoise = ValueGenerator.GenerateNoise(theta, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman66.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(B, rand);72 var targetNoise = ValueGenerator.GenerateNoise(B, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman67.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(rho_c, rand);70 var targetNoise = ValueGenerator.GenerateNoise(rho_c, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman68.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(j, rand);70 var targetNoise = ValueGenerator.GenerateNoise(j, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman69.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman7.cs
r17973 r18032 74 74 } 75 75 76 var targetNoise = GetNoisyTarget(A, rand);76 var targetNoise = ValueGenerator.GenerateNoise(A, rand, noiseRatio); 77 77 if (targetNoise != null) data.Add(targetNoise); 78 78 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman70.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman71.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(Volt, rand);74 var targetNoise = ValueGenerator.GenerateNoise(Volt, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman72.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(k, rand);70 var targetNoise = ValueGenerator.GenerateNoise(k, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman73.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(flux, rand);70 var targetNoise = ValueGenerator.GenerateNoise(flux, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman74.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(E_den, rand);68 var targetNoise = ValueGenerator.GenerateNoise(E_den, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman75.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(I, rand);70 var targetNoise = ValueGenerator.GenerateNoise(I, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman76.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(mom, rand);70 var targetNoise = ValueGenerator.GenerateNoise(mom, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman77.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(omega, rand);72 var targetNoise = ValueGenerator.GenerateNoise(omega, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman78.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(mom, rand);70 var targetNoise = ValueGenerator.GenerateNoise(mom, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman79.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(E_n, rand);74 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman8.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(F, rand);68 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman80.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(n, rand);74 var targetNoise = ValueGenerator.GenerateNoise(n, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman81.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(M, rand);74 var targetNoise = ValueGenerator.GenerateNoise(M, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman82.cs
r17973 r18032 82 82 } 83 83 84 var targetNoise = GetNoisyTarget(f, rand);84 var targetNoise = ValueGenerator.GenerateNoise(f, rand, noiseRatio); 85 85 if (targetNoise != null) data.Add(targetNoise); 86 86 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman83.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman84.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(F, rand);72 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman85.cs
r17973 r18032 66 66 } 67 67 68 var targetNoise = GetNoisyTarget(mu_S, rand);68 var targetNoise = ValueGenerator.GenerateNoise(mu_S, rand, noiseRatio); 69 69 if (targetNoise != null) data.Add(targetNoise); 70 70 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman86.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(n, rand);72 var targetNoise = ValueGenerator.GenerateNoise(n, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman87.cs
r17973 r18032 71 71 } 72 72 73 var targetNoise = GetNoisyTarget(E_n, rand);73 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 74 74 if (targetNoise != null) data.Add(targetNoise); 75 75 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman88.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(omega, rand);70 var targetNoise = ValueGenerator.GenerateNoise(omega, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman89.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(prob, rand);70 var targetNoise = ValueGenerator.GenerateNoise(prob, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman9.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(F, rand);72 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman90.cs
r17973 r18032 79 79 } 80 80 81 var targetNoise = GetNoisyTarget(prob, rand);81 var targetNoise = ValueGenerator.GenerateNoise(prob, rand, noiseRatio); 82 82 if (targetNoise != null) data.Add(targetNoise); 83 83 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman91.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(E_n, rand);72 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman92.cs
r17973 r18032 65 65 } 66 66 67 var targetNoise = GetNoisyTarget(L, rand);67 var targetNoise = ValueGenerator.GenerateNoise(L, rand, noiseRatio); 68 68 if (targetNoise != null) data.Add(targetNoise); 69 69 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman93.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(v, rand);72 var targetNoise = ValueGenerator.GenerateNoise(v, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman94.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(I, rand);74 var targetNoise = ValueGenerator.GenerateNoise(I, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman95.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(E_n, rand);70 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman96.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(m, rand);70 var targetNoise = ValueGenerator.GenerateNoise(m, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman97.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(k, rand);70 var targetNoise = ValueGenerator.GenerateNoise(k, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman98.cs
r17973 r18032 68 68 } 69 69 70 var targetNoise = GetNoisyTarget(f, rand);70 var targetNoise = ValueGenerator.GenerateNoise(f, rand, noiseRatio); 71 71 if (targetNoise != null) data.Add(targetNoise); 72 72 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/Feynman99.cs
r17973 r18032 74 74 } 75 75 76 var targetNoise = GetNoisyTarget(E_n, rand);76 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 77 77 if (targetNoise != null) data.Add(targetNoise); 78 78 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus1.cs
r17973 r18032 80 80 } 81 81 82 var targetNoise = GetNoisyTarget(A, rand);82 var targetNoise = ValueGenerator.GenerateNoise(A, rand, noiseRatio); 83 83 if (targetNoise != null) data.Add(targetNoise); 84 84 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus10.cs
r17973 r18032 70 70 } 71 71 72 var targetNoise = GetNoisyTarget(t, rand);72 var targetNoise = ValueGenerator.GenerateNoise(t, rand, noiseRatio); 73 73 if (targetNoise != null) data.Add(targetNoise); 74 74 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus11.cs
r17973 r18032 80 80 } 81 81 82 var targetNoise = GetNoisyTarget(alpha, rand);82 var targetNoise = ValueGenerator.GenerateNoise(alpha, rand, noiseRatio); 83 83 if (targetNoise != null) data.Add(targetNoise); 84 84 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus12.cs
r17973 r18032 76 76 } 77 77 78 var targetNoise = GetNoisyTarget(E_n, rand);78 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 79 79 if (targetNoise != null) data.Add(targetNoise); 80 80 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus13.cs
r17973 r18032 77 77 } 78 78 79 var targetNoise = GetNoisyTarget(E_n, rand);79 var targetNoise = ValueGenerator.GenerateNoise(E_n, rand, noiseRatio); 80 80 if (targetNoise != null) data.Add(targetNoise); 81 81 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus14.cs
r17973 r18032 75 75 } 76 76 77 var targetNoise = GetNoisyTarget(F, rand);77 var targetNoise = ValueGenerator.GenerateNoise(F, rand, noiseRatio); 78 78 if (targetNoise != null) data.Add(targetNoise); 79 79 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus15.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(Volt, rand);74 var targetNoise = ValueGenerator.GenerateNoise(Volt, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus16.cs
r17973 r18032 74 74 } 75 75 76 var targetNoise = GetNoisyTarget(Volt, rand);76 var targetNoise = ValueGenerator.GenerateNoise(Volt, rand, noiseRatio); 77 77 if (targetNoise != null) data.Add(targetNoise); 78 78 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus17.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(omega_0, rand);74 var targetNoise = ValueGenerator.GenerateNoise(omega_0, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus18.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(rho_0, rand);74 var targetNoise = ValueGenerator.GenerateNoise(rho_0, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus19.cs
r17973 r18032 76 76 } 77 77 78 var targetNoise = GetNoisyTarget(pr, rand);78 var targetNoise = ValueGenerator.GenerateNoise(pr, rand, noiseRatio); 79 79 if (targetNoise != null) data.Add(targetNoise); 80 80 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus2.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(H_G, rand);74 var targetNoise = ValueGenerator.GenerateNoise(H_G, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus20.cs
r17973 r18032 81 81 } 82 82 83 var targetNoise = GetNoisyTarget(A, rand);83 var targetNoise = ValueGenerator.GenerateNoise(A, rand, noiseRatio); 84 84 if (targetNoise != null) data.Add(targetNoise); 85 85 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus3.cs
r17973 r18032 71 71 } 72 72 73 var targetNoise = GetNoisyTarget(K, rand);73 var targetNoise = ValueGenerator.GenerateNoise(K, rand, noiseRatio); 74 74 if (targetNoise != null) data.Add(targetNoise); 75 75 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus4.cs
r17973 r18032 74 74 } 75 75 76 var targetNoise = GetNoisyTarget(Pwr, rand);76 var targetNoise = ValueGenerator.GenerateNoise(Pwr, rand, noiseRatio); 77 77 if (targetNoise != null) data.Add(targetNoise); 78 78 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus5.cs
r17973 r18032 69 69 } 70 70 71 var targetNoise = GetNoisyTarget(theta1, rand);71 var targetNoise = ValueGenerator.GenerateNoise(theta1, rand, noiseRatio); 72 72 if (targetNoise != null) data.Add(targetNoise); 73 73 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus6.cs
r17973 r18032 73 73 } 74 74 75 var targetNoise = GetNoisyTarget(I, rand);75 var targetNoise = ValueGenerator.GenerateNoise(I, rand, noiseRatio); 76 76 if (targetNoise != null) data.Add(targetNoise); 77 77 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus7.cs
r17973 r18032 72 72 } 73 73 74 var targetNoise = GetNoisyTarget(v, rand);74 var targetNoise = ValueGenerator.GenerateNoise(v, rand, noiseRatio); 75 75 if (targetNoise != null) data.Add(targetNoise); 76 76 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus8.cs
r17973 r18032 79 79 } 80 80 81 var targetNoise = GetNoisyTarget(k, rand);81 var targetNoise = ValueGenerator.GenerateNoise(k, rand, noiseRatio); 82 82 if (targetNoise != null) data.Add(targetNoise); 83 83 -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus9.cs
r17973 r18032 71 71 } 72 72 73 var targetNoise = GetNoisyTarget(r, rand);73 var targetNoise = ValueGenerator.GenerateNoise(r, rand, noiseRatio); 74 74 if (targetNoise != null) data.Add(targetNoise); 75 76 //var targetNoise = GetNoisyTarget(r, rand); 77 //if (targetNoise != null) data.Add(targetNoise); 75 78 76 79 return data; -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Friedman/FriedmanRandomFunction.cs
r17931 r18032 86 86 var y = GenerateRandomFunction(random, data); 87 87 88 var targetSigma = y.StandardDeviation();89 var noisePrng = new NormalDistributedRandom(random, 0, targetSigma * Math.Sqrt(noiseRatio / (1.0 - noiseRatio)));88 //var targetSigma = y.StandardDeviation(); 89 //var noisePrng = new NormalDistributedRandom(random, 0, targetSigma * Math.Sqrt(noiseRatio / (1.0 - noiseRatio))); 90 90 91 data.Add(y.Select(t => t + noisePrng.NextDouble()).ToList()); 91 //data.Add(y.Select(t => t + noisePrng.NextDouble()).ToList()); 92 93 data.Add(ValueGenerator.GenerateNoise(y, random, noiseRatio)); 92 94 93 95 return data; -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/ValueGenerator.cs
r17180 r18032 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using System.Linq; 25 using HeuristicLab.Common; 26 using HeuristicLab.Core; 24 27 using HeuristicLab.Random; 25 28 … … 97 100 } 98 101 } 102 103 public static List<double> GenerateNoise(IEnumerable<double> target, IRandom rand, double? noiseRatio) { 104 if (noiseRatio == null) return null; 105 106 var targetNoise = new List<double>(); 107 var targetSigma = target.StandardDeviation(); 108 var noisePrng = new NormalDistributedRandomPolar(rand, 0, targetSigma * Math.Sqrt(noiseRatio.Value / (1.0 - noiseRatio.Value))); 109 110 targetNoise.AddRange(target.Select(t => t + noisePrng.NextDouble()).ToList()); 111 return targetNoise; 112 } 99 113 } 100 114 }
Note: See TracChangeset
for help on using the changeset viewer.