Changeset 3905 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Analyzers/SymbolicRegressionVariableFrequencyAnalyzer.cs
- Timestamp:
- 06/08/10 17:47:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Analyzers/SymbolicRegressionVariableFrequencyAnalyzer.cs
r3774 r3905 60 60 #endregion 61 61 #region properties 62 public DataTable Variable Impacts {62 public DataTable VariableFrequencies { 63 63 get { return VariableFrequenciesParameter.ActualValue; } 64 64 set { VariableFrequenciesParameter.ActualValue = value; } … … 80 80 ResultCollection results = ResultsParameter.ActualValue; 81 81 82 if (Variable Impacts == null) {83 Variable Impacts = new DataTable("Variable frequencies", "Relative frequency of variable references aggregated over the whole population.");82 if (VariableFrequencies == null) { 83 VariableFrequencies = new DataTable("Variable frequencies", "Relative frequency of variable references aggregated over the whole population."); 84 84 // add a data row for each input variable 85 85 foreach (var inputVariable in inputVariables) 86 Variable Impacts.Rows.Add(new DataRow(inputVariable));87 results.Add(new Result("Variable frequencies", Variable Impacts));86 VariableFrequencies.Rows.Add(new DataRow(inputVariable)); 87 results.Add(new Result("Variable frequencies", VariableFrequencies)); 88 88 } 89 89 foreach (var pair in VariableFrequencyAnalyser.CalculateVariableFrequencies(expressions, inputVariables)) { 90 Variable Impacts.Rows[pair.Key].Values.Add(pair.Value);91 results["Variable frequencies"].Value = Variable Impacts;90 VariableFrequencies.Rows[pair.Key].Values.Add(pair.Value); 91 results["Variable frequencies"].Value = VariableFrequencies; 92 92 } 93 93
Note: See TracChangeset
for help on using the changeset viewer.