- Timestamp:
- 04/10/19 16:48:26 (6 years ago)
- Location:
- branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis merged: 16757-16758,16763
- Property svn:mergeinfo changed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis/3.4 merged: 16757-16758,16763
- Property svn:mergeinfo changed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationModel.cs
r16644 r16775 75 75 var classificationProblemData = problemData as IClassificationProblemData; 76 76 if (classificationProblemData == null) 77 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");77 throw new ArgumentException("The problem data is not compatible with this classification model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 78 78 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 79 79 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/ConstantModel.cs
r16644 r16775 98 98 return IsProblemDataCompatible(classificationProblemData, out errorMessage); 99 99 100 throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");100 throw new ArgumentException("The problem data is compatible with this model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 101 101 } 102 102 -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval.cs
r16647 r16775 204 204 } 205 205 public static Interval Cosine(Interval a) { 206 return Interval.Sine(Interval. Subtract(a, new Interval(Math.PI / 2, Math.PI / 2)));206 return Interval.Sine(Interval.Add(a, new Interval(Math.PI / 2, Math.PI / 2))); 207 207 } 208 208 public static Interval Tangens(Interval a) { 209 209 return Interval.Divide(Interval.Sine(a), Interval.Cosine(a)); 210 } 211 public static Interval HyperbolicTangent(Interval a) { 212 return new Interval(Math.Tanh(a.LowerBound), Math.Tanh(a.UpperBound)); 210 213 } 211 214 -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionModel.cs
r16644 r16775 76 76 var regressionProblemData = problemData as IRegressionProblemData; 77 77 if (regressionProblemData == null) 78 throw new ArgumentException("The problem data is not a regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");78 throw new ArgumentException("The problem data is not compatible with this regression model. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData"); 79 79 return IsProblemDataCompatible(regressionProblemData, out errorMessage); 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.