#881 closed defect (worksforme)
StablePearsonCorrelationCoefficientCalculator sometimes returns NaN values.
Reported by: | gkronber | Owned by: | gkronber |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.0 |
Component: | Problems.DataAnalysis | Version: | 3.3.0 |
Keywords: | Cc: |
Description
All modeling result collectors should behave identically when the result is undefined. Other correlation calculators return a default value (e.g. 0.0) when there is an exception in the calculation of results.
Change History (8)
comment:1 Changed 15 years ago by gkronber
- Status changed from new to assigned
comment:2 Changed 15 years ago by gkronber
comment:3 Changed 15 years ago by gkronber
- Status changed from assigned to new
comment:4 Changed 14 years ago by gkronber
- Component changed from Modeling to Problems.DataAnalysis
- Version changed from 3.2 to 3.3
comment:5 Changed 14 years ago by gkronber
- Status changed from new to assigned
- Version changed from 3.3 to 3.3.0
comment:6 Changed 14 years ago by gkronber
- Resolution set to worksforme
- Status changed from assigned to closed
Problem cannot be reproduced in the current version 3.3.0.
comment:7 Changed 14 years ago by swagner
- Milestone changed from Iteration 4 to Current
Milestone Iteration 4 deleted
comment:11 Changed 14 years ago by swagner
- Milestone changed from Current to HeuristicLab 3.3.0
Milestone Current deleted
Note: See
TracTickets for help on using
tickets.
Added a check to SimpleStableCorrelationCoefficientEvaluator so that a r2 of 0.0 is returned instead of NaN (in case of division by zero). Also removed unnecessary try {} catch block in SimplePearsonCorrelationCoefficientEvaluator with r2844.