Changeset 16841
- Timestamp:
- 04/19/19 10:57:30 (6 years ago)
- Location:
- branches/2971_named_intervals
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/ParsedConstraintView.designer.cs
r16830 r16841 1 namespace HeuristicLab.Problems.DataAnalysis.Views { 1 using System; 2 3 namespace HeuristicLab.Problems.DataAnalysis.Views { 2 4 partial class ParsedConstraintView { 3 5 /// <summary> … … 101 103 this.label1.Size = new System.Drawing.Size(250, 182); 102 104 this.label1.TabIndex = 0; 103 this.label1.Text = resources.GetString("label1.Text"); 105 this.label1.Text = "To define Target Variable constraints:" + Environment.NewLine + 106 "1. Start the definition with Target:" + Environment.NewLine + 107 "2. Specify the target variable" + Environment.NewLine + 108 "3. Add the key word in" + Environment.NewLine + 109 "4. Specify the Interval with [lowerbound .. upperbound]" + Environment.NewLine + 110 "5. Square bracket open or closed specify open or closed interval" + Environment.NewLine + Environment.NewLine + 111 "To define a derivation constraint: " + Environment.NewLine + 112 "1. Start with d or \u2202" + Environment.NewLine + 113 "2. Specify the target" + Environment.NewLine + 114 "3. add space and / and space" + Environment.NewLine + 115 "4. add derivation variable then follow step 4-5 from mabove"; 104 116 // 105 117 // constraintsOutput -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16830 r16841 105 105 public IFixedValueParameter<NamedIntervals> VariableRangesParameter => (IFixedValueParameter<NamedIntervals>)Parameters[VariableRangesParameterName]; 106 106 107 public NamedIntervals VariableRanges => VariableRangesParameter.Value; 107 public NamedIntervals VariableRanges { 108 get => VariableRangesParameter.Value; 109 set => VariableRanges = value ?? throw new ArgumentNullException("Variable Ranges", "The given variable ranges are null"); 110 } 111 108 112 109 113 public IFixedValueParameter<ParsedConstraint> IntervalConstraintsParameter => (IFixedValueParameter<ParsedConstraint>)Parameters[IntervalConstraintsParameterName]; 110 public ParsedConstraint IntervalConstraints => IntervalConstraintsParameter.Value; 114 115 public ParsedConstraint IntervalConstraints { 116 get => IntervalConstraintsParameter.Value; 117 set => IntervalConstraints = value ?? throw new ArgumentNullException("IntervalCosntraint", "The given Constraint is null."); 118 } 119 111 120 112 121 public string TargetVariable { -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblemData.cs
r16830 r16841 28 28 string TargetVariable { get; set; } 29 29 30 NamedIntervals VariableRanges { get; }31 ParsedConstraint IntervalConstraints { get; }30 NamedIntervals VariableRanges { get; set; } 31 ParsedConstraint IntervalConstraints { get; set; } 32 32 IEnumerable<double> TargetVariableValues { get; } 33 33 IEnumerable<double> TargetVariableTrainingValues { get; } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/ParsedConstraint.cs
r16830 r16841 34 34 "Target:y in [0 .. 100]" + Environment.NewLine + Environment.NewLine + 35 35 "#Example for constraint on model parameter: " + Environment.NewLine + 36 "dy /dx in [0 .. 10]" + Environment.NewLine +37 "\u2202²y /\u2202x² in ]-1 .. inf.[";36 "dy / dx in [0 .. 10]" + Environment.NewLine + 37 "\u2202²y / \u2202x² in ]-1 .. inf.["; 38 38 39 39 public string Input { get; set; }
Note: See TracChangeset
for help on using the changeset viewer.