Free cookie consent management tool by TermsFeed Policy Generator

Changeset 7863


Ignore:
Timestamp:
05/22/12 09:02:15 (12 years ago)
Author:
sforsten
Message:

#1784: changed name of the DataDescriptor in the SamplesTest for regression and classification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs

    r7849 r7863  
    250250      symbRegProblem.Description = "Tower Dataset (downloaded from: http://vanillamodeling.com/realproblems.html)";
    251251      RegressionRealWorldInstanceProvider provider = new RegressionRealWorldInstanceProvider();
    252       var instance = provider.GetDataDescriptors().Where(x => x.Name.Equals("towerData")).Single();
     252      var instance = provider.GetDataDescriptors().Where(x => x.Name.Equals("TowerData")).Single();
    253253      var towerProblemData = (RegressionProblemData)provider.LoadData(instance);
    254254      towerProblemData.TargetVariableParameter.Value = towerProblemData.TargetVariableParameter.ValidValues
     
    355355      symbClassProblem.Description = "Mammography dataset imported from the UCI machine learning repository (http://archive.ics.uci.edu/ml/datasets/Mammographic+Mass)";
    356356      ClassificationRealWorldInstanceProvider provider = new ClassificationRealWorldInstanceProvider();
    357       var instance = provider.GetDataDescriptors().Where(x => x.Name.Equals("mammography")).Single();
     357      var instance = provider.GetDataDescriptors().Where(x => x.Name.Equals("Mammography")).Single();
    358358      var mammoData = (ClassificationProblemData)provider.LoadData(instance);
    359359      mammoData.TargetVariableParameter.Value = mammoData.TargetVariableParameter.ValidValues
Note: See TracChangeset for help on using the changeset viewer.