Changeset 8206 for branches/GP-MoveOperators/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine
- Timestamp:
- 07/03/12 16:46:35 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:mergeinfo changed
/trunk/sources merged: 8084,8088-8090,8092-8100,8102-8113,8115,8117-8132,8134-8146,8148-8156,8158-8160,8163-8170,8173-8176,8178-8190,8192-8205
- Property svn:mergeinfo changed
-
branches/GP-MoveOperators/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorClassification.cs
r7430 r8206 46 46 47 47 #region parameter properties 48 public I ValueParameter<StringValue> SvmTypeParameter {49 get { return (I ValueParameter<StringValue>)Parameters[SvmTypeParameterName]; }48 public IConstrainedValueParameter<StringValue> SvmTypeParameter { 49 get { return (IConstrainedValueParameter<StringValue>)Parameters[SvmTypeParameterName]; } 50 50 } 51 public I ValueParameter<StringValue> KernelTypeParameter {52 get { return (I ValueParameter<StringValue>)Parameters[KernelTypeParameterName]; }51 public IConstrainedValueParameter<StringValue> KernelTypeParameter { 52 get { return (IConstrainedValueParameter<StringValue>)Parameters[KernelTypeParameterName]; } 53 53 } 54 54 public IValueParameter<DoubleValue> NuParameter { … … 65 65 public StringValue SvmType { 66 66 get { return SvmTypeParameter.Value; } 67 set { SvmTypeParameter.Value = value; } 67 68 } 68 69 public StringValue KernelType { 69 70 get { return KernelTypeParameter.Value; } 71 set { KernelTypeParameter.Value = value; } 70 72 } 71 73 public DoubleValue Nu { … … 130 132 Dataset dataset = problemData.Dataset; 131 133 string targetVariable = problemData.TargetVariable; 132 IEnumerable<int> rows = problemData.TrainingIndi zes;134 IEnumerable<int> rows = problemData.TrainingIndices; 133 135 134 136 //extract SVM parameters from scope and set them -
branches/GP-MoveOperators/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorRegression.cs
r7306 r8206 47 47 48 48 #region parameter properties 49 public I ValueParameter<StringValue> SvmTypeParameter {50 get { return (I ValueParameter<StringValue>)Parameters[SvmTypeParameterName]; }49 public IConstrainedValueParameter<StringValue> SvmTypeParameter { 50 get { return (IConstrainedValueParameter<StringValue>)Parameters[SvmTypeParameterName]; } 51 51 } 52 public I ValueParameter<StringValue> KernelTypeParameter {53 get { return (I ValueParameter<StringValue>)Parameters[KernelTypeParameterName]; }52 public IConstrainedValueParameter<StringValue> KernelTypeParameter { 53 get { return (IConstrainedValueParameter<StringValue>)Parameters[KernelTypeParameterName]; } 54 54 } 55 55 public IValueParameter<DoubleValue> NuParameter { … … 69 69 public StringValue SvmType { 70 70 get { return SvmTypeParameter.Value; } 71 set { SvmTypeParameter.Value = value; } 71 72 } 72 73 public StringValue KernelType { 73 74 get { return KernelTypeParameter.Value; } 75 set { KernelTypeParameter.Value = value; } 74 76 } 75 77 public DoubleValue Nu { … … 138 140 Dataset dataset = problemData.Dataset; 139 141 string targetVariable = problemData.TargetVariable; 140 IEnumerable<int> rows = problemData.TrainingIndi zes;142 IEnumerable<int> rows = problemData.TrainingIndices; 141 143 142 144 //extract SVM parameters from scope and set them
Note: See TracChangeset
for help on using the changeset viewer.