Changeset 10478
 Timestamp:
 02/20/14 14:20:46 (6 years ago)
 Location:
 stable
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

stable
 Property svn:mergeinfo changed
/trunk/sources merged: 10440
 Property svn:mergeinfo changed

stable/HeuristicLab.Problems.Instances.DataAnalysis
 Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis merged: 10440
 Property svn:mergeinfo changed

stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/FeatureSelection/FeatureSelection.cs
r9456 r10478 48 48 + "Where is the S is a N x d matrix containing the selected columns from N x k the matrix of all features X" + Environment.NewLine 49 49 + "For each feature the probability that it is selected is " + selectionProbability + "%" + Environment.NewLine 50 + "X(i,j) ~ N(0, 1) iid, w(i) ~ U(0, 10) iid, n ~ N(0, sigma(w*S) * SQRT(" + noiseRatio + "))" + Environment.NewLine50 + "X(i,j) ~ N(0, 1) iid, w(i) ~ U(0, 10) iid, n ~ N(0, sigma(w*S) * SQRT(" + noiseRatio / (1  noiseRatio) + "))" + Environment.NewLine 51 51 + "The noise level is " + noiseRatio + " * sigma, thus an optimal model has R² = " 52 52 + Math.Round(optimalRSquared, 2) + " (or equivalently: NMSE = " + noiseRatio + ")" + Environment.NewLine … … 131 131 } 132 132 var targetSigma = target.StandardDeviation(); 133 var noisePrng = new NormalDistributedRandom(random, 0, targetSigma * Math.Sqrt(noiseRatio ));133 var noisePrng = new NormalDistributedRandom(random, 0, targetSigma * Math.Sqrt(noiseRatio / (1.0  noiseRatio))); 134 134 135 135 data.Add(target.Select(t => t + noisePrng.NextDouble()).ToList());
Note: See TracChangeset
for help on using the changeset viewer.