Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/FeatureSelection/FeatureSelectionRegressionProblemData.cs
r12009 r12702 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 24 using HeuristicLab.Common; 26 25 using HeuristicLab.Core; … … 29 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 29 using HeuristicLab.Problems.DataAnalysis; 31 using HeuristicLab.Random;32 30 33 31 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 57 55 } 58 56 59 public FeatureSelectionRegressionProblemData( Dataset ds, IEnumerable<string> allowedInputVariables, string targetVariable, string[] selectedFeatures, double[] weights, double optimalRSquared)57 public FeatureSelectionRegressionProblemData(IDataset ds, IEnumerable<string> allowedInputVariables, string targetVariable, string[] selectedFeatures, double[] weights, double optimalRSquared) 60 58 : base(ds, allowedInputVariables, targetVariable) { 61 59 if (selectedFeatures.Length != weights.Length) throw new ArgumentException("Length of selected features vector does not match the length of the weights vector");
Note: See TracChangeset
for help on using the changeset viewer.