Changeset 9468


Ignore:
Timestamp:
05/08/13 14:32:49 (6 years ago)
Author:
sforsten
Message:

#1980: removed condition that all condition variables have to be double variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Problems.DecisionListClassification/3.3/DecisionListClassificationProblemData.cs

    r9411 r9468  
    133133      if (dataset == null) throw new ArgumentNullException("The dataset must not be null.");
    134134      if (allowedConditionVariables == null) throw new ArgumentNullException("The allowedActionVariables must not be null.");
    135 
    136       if (allowedConditionVariables.Except(dataset.DoubleVariables).Any())
    137         throw new ArgumentException("All allowed condition variables must be present in the dataset and of type double.");
    138135
    139136      //var validTargetVariableValues = CheckVariablesForPossibleTargetVariables(dataset).Select(x => new StringValue(x).AsReadOnly()).ToList();
Note: See TracChangeset for help on using the changeset viewer.