Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/12 16:46:35 (12 years ago)
Author:
gkronber
Message:

#1847: merged r8084:8205 from trunk into GP move operators branch

Location:
branches/GP-MoveOperators
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/GP-MoveOperators

  • branches/GP-MoveOperators/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorClassification.cs

    r7430 r8206  
    4646
    4747    #region parameter properties
    48     public IValueParameter<StringValue> SvmTypeParameter {
    49       get { return (IValueParameter<StringValue>)Parameters[SvmTypeParameterName]; }
     48    public IConstrainedValueParameter<StringValue> SvmTypeParameter {
     49      get { return (IConstrainedValueParameter<StringValue>)Parameters[SvmTypeParameterName]; }
    5050    }
    51     public IValueParameter<StringValue> KernelTypeParameter {
    52       get { return (IValueParameter<StringValue>)Parameters[KernelTypeParameterName]; }
     51    public IConstrainedValueParameter<StringValue> KernelTypeParameter {
     52      get { return (IConstrainedValueParameter<StringValue>)Parameters[KernelTypeParameterName]; }
    5353    }
    5454    public IValueParameter<DoubleValue> NuParameter {
     
    6565    public StringValue SvmType {
    6666      get { return SvmTypeParameter.Value; }
     67      set { SvmTypeParameter.Value = value; }
    6768    }
    6869    public StringValue KernelType {
    6970      get { return KernelTypeParameter.Value; }
     71      set { KernelTypeParameter.Value = value; }
    7072    }
    7173    public DoubleValue Nu {
     
    130132      Dataset dataset = problemData.Dataset;
    131133      string targetVariable = problemData.TargetVariable;
    132       IEnumerable<int> rows = problemData.TrainingIndizes;
     134      IEnumerable<int> rows = problemData.TrainingIndices;
    133135
    134136      //extract SVM parameters from scope and set them
  • branches/GP-MoveOperators/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorRegression.cs

    r7306 r8206  
    4747
    4848    #region parameter properties
    49     public IValueParameter<StringValue> SvmTypeParameter {
    50       get { return (IValueParameter<StringValue>)Parameters[SvmTypeParameterName]; }
     49    public IConstrainedValueParameter<StringValue> SvmTypeParameter {
     50      get { return (IConstrainedValueParameter<StringValue>)Parameters[SvmTypeParameterName]; }
    5151    }
    52     public IValueParameter<StringValue> KernelTypeParameter {
    53       get { return (IValueParameter<StringValue>)Parameters[KernelTypeParameterName]; }
     52    public IConstrainedValueParameter<StringValue> KernelTypeParameter {
     53      get { return (IConstrainedValueParameter<StringValue>)Parameters[KernelTypeParameterName]; }
    5454    }
    5555    public IValueParameter<DoubleValue> NuParameter {
     
    6969    public StringValue SvmType {
    7070      get { return SvmTypeParameter.Value; }
     71      set { SvmTypeParameter.Value = value; }
    7172    }
    7273    public StringValue KernelType {
    7374      get { return KernelTypeParameter.Value; }
     75      set { KernelTypeParameter.Value = value; }
    7476    }
    7577    public DoubleValue Nu {
     
    138140      Dataset dataset = problemData.Dataset;
    139141      string targetVariable = problemData.TargetVariable;
    140       IEnumerable<int> rows = problemData.TrainingIndizes;
     142      IEnumerable<int> rows = problemData.TrainingIndices;
    141143
    142144      //extract SVM parameters from scope and set them
Note: See TracChangeset for help on using the changeset viewer.