- Timestamp:
- 02/23/15 18:01:58 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing/3.4/ProblemDataCreator.cs
r12058 r12063 77 77 78 78 private IDataAnalysisProblemData CreateClassificationData(ClassificationProblemData oldProblemData) { 79 // target variable must be double and must exist in the new dataset 79 80 var targetVariable = oldProblemData.TargetVariable; 80 // target variable must be double and must exist in the new dataset 81 return new ClassificationProblemData(ExportedDataset, GetDoubleInputVariables(targetVariable), targetVariable, Transformations); 81 var newProblemData = new ClassificationProblemData(ExportedDataset, GetDoubleInputVariables(targetVariable), targetVariable, Transformations); 82 newProblemData.PositiveClass = oldProblemData.PositiveClass; 83 return newProblemData; 82 84 } 83 85
Note: See TracChangeset
for help on using the changeset viewer.