- Timestamp:
- 06/26/12 13:12:48 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorClassification.cs
r7430 r8121 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 { -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorRegression.cs
r7306 r8121 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 {
Note: See TracChangeset
for help on using the changeset viewer.