Changeset 16415
- Timestamp:
- 12/20/18 10:55:30 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegressionModel.cs
r16389 r16415 51 51 52 52 public override IEnumerable<string> VariablesUsedForPrediction { 53 get { return allowedInputVariables ; }53 get { return allowedInputVariables.Union(factorVariables.Select(f => f.Key)); } 54 54 } 55 55 … … 81 81 Array.Copy(covariance, C, covariance.Length); 82 82 this.NoiseSigma = noiseSigma; 83 var stringInputVariables = factorVariables.Select(f => f.Key).Distinct(); 83 84 this.allowedInputVariables = doubleInputVariables.ToArray(); 84 85 this.factorVariables = factorVariables.Select(kvp => new KeyValuePair<string, IEnumerable<string>>(kvp.Key, new List<string>(kvp.Value))).ToList();
Note: See TracChangeset
for help on using the changeset viewer.