- Timestamp:
- 03/05/14 14:48:13 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/FeatureSelection/FeatureSelection.cs
r9456 r10538 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.