Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9231


Ignore:
Timestamp:
02/19/13 15:25:46 (11 years ago)
Author:
mkommend
Message:

#1999: Corrected rounding in FeatureSelection.cs for the display of the optimal R² in the problem data description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/FeatureSelection/FeatureSelection.cs

    r9217 r9231  
    5050               + "X(i,j) ~ N(0, 1) iid, w(i) ~ U(0, 10) iid, n ~ N(0, sigma(w*S) * SQRT(" + noiseRatio + "))" + Environment.NewLine
    5151               + "The noise level is " + noiseRatio + " * sigma, thus an optimal model has R² = "
    52                + Math.Round(optimalRSquared) + " (or equivalently: NMSE = " + noiseRatio + ")" + Environment.NewLine
     52               + Math.Round(optimalRSquared, 2) + " (or equivalently: NMSE = " + noiseRatio + ")" + Environment.NewLine
    5353               + "N = " + (nTrainingSamples + nTestSamples) + " (" + nTrainingSamples + " training, " + nTestSamples + " test)" + Environment.NewLine
    5454               + "k = " + numberOfFeatures;
Note: See TracChangeset for help on using the changeset viewer.