Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/30/20 09:31:09 (3 years ago)
Author:
gkronber
Message:

#3075 Use the same noise levels and calculation as in our experiments for the IEEE TeC paper. Reordered instances by name first and noise level second. Removed number of samples from the name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Feynman/FeynmanBonus18.cs

    r17678 r17805  
    2828    public override string Name {
    2929      get {
    30         return string.Format("Weinberg 15.2.1: 3/(8*pi*G)*(c**2*k_f/r**2+H_G**2) | {0} samples | {1}",
    31           trainingSamples, noiseRatio == null ? "no noise" : string.Format(System.Globalization.CultureInfo.InvariantCulture, "noise={0:g}",noiseRatio));
     30        return string.Format("Weinberg 15.2.1: 3/(8*pi*G)*(c**2*k_f/r**2+H_G**2) | {0}",
     31          noiseRatio == null ? "no noise" : string.Format(System.Globalization.CultureInfo.InvariantCulture, "noise={0:g}",noiseRatio));
    3232      }
    3333    }
     
    7474      if (noiseRatio != null) {
    7575        var rho_0_noise = new List<double>();
    76         var sigma_noise = (double) noiseRatio * rho_0.StandardDeviationPop();
     76        var sigma_noise = (double) Math.Sqrt(noiseRatio.Value) * rho_0.StandardDeviationPop();
    7777        rho_0_noise.AddRange(rho_0.Select(md => md + NormalDistributedRandom.NextDouble(rand, 0, sigma_noise)));
    7878        data.Remove(rho_0);
Note: See TracChangeset for help on using the changeset viewer.