Opened 6 years ago
Closed 6 years ago
#2941 closed defect (done)
Allow zero-variance features in k-nearest Neighbours
Reported by: | bwerth | Owned by: | gkronber |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.16 |
Component: | Algorithms.DataAnalysis | Version: | |
Keywords: | kNN | Cc: |
Description
K-nearest neighbor regression/classification can not handle zero-variance input features. The reason for this is a missing check in the scaling calculation.
Change History (7)
comment:1 Changed 6 years ago by bwerth
- Status changed from new to accepted
comment:2 Changed 6 years ago by bwerth
comment:3 Changed 6 years ago by bwerth
- Owner changed from bwerth to mkommend
- Status changed from accepted to reviewing
comment:4 Changed 6 years ago by gkronber
Reviewed and tested r16086, thanks for fixing this.
comment:5 Changed 6 years ago by gkronber
- Owner changed from mkommend to gkronber
- Status changed from reviewing to readytorelease
comment:6 Changed 6 years ago by gkronber
comment:7 Changed 6 years ago by gkronber
- Resolution set to done
- Status changed from readytorelease to closed
Note: See
TracTickets for help on using
tickets.
r16086 added division-by-zero check to scaling