Changeset 12515 for branches/HiveStatistics/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3
- Timestamp:
- 06/25/15 18:21:19 (9 years ago)
- Location:
- branches/HiveStatistics/sources/HeuristicLab.Problems.Instances.DataAnalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis (added) merged: 12509
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/FeatureSelection/FeatureSelectionRegressionProblemData.cs
r12012 r12515 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.