Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/28/11 17:27:55 (13 years ago)
Author:
mkommend
Message:

#1418: Adapted data analysis classes to new parameter ctors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblemData.cs

    r5809 r5847  
    254254      var variables = InputVariables.Select(x => x.AsReadOnly()).ToList();
    255255      Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>(variables), variables.Where(x => x.Value == targetVariable).First()));
    256       Parameters.Add(new FixedValueParameter<StringMatrix>(ClassNamesParameterName, "", new StringMatrix()));
    257       Parameters.Add(new FixedValueParameter<DoubleMatrix>(ClassificationPenaltiesParameterName, "", new DoubleMatrix()));
     256      Parameters.Add(new FixedValueParameter<StringMatrix>(ClassNamesParameterName, ""));
     257      Parameters.Add(new FixedValueParameter<DoubleMatrix>(ClassificationPenaltiesParameterName, ""));
    258258
    259259      ResetTargetVariableDependentMembers();
Note: See TracChangeset for help on using the changeset viewer.