#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 12 months ago by bwerth

  • Status changed from new to accepted

comment:2 Changed 12 months ago by bwerth

r16086 added division-by-zero check to scaling

comment:3 Changed 12 months ago by bwerth

  • Owner changed from bwerth to mkommend
  • Status changed from accepted to reviewing

comment:4 Changed 11 months ago by gkronber

Reviewed and tested r16086, thanks for fixing this.

Last edited 11 months ago by gkronber (previous) (diff)

comment:5 Changed 11 months ago by gkronber

  • Owner changed from mkommend to gkronber
  • Status changed from reviewing to readytorelease

comment:6 Changed 11 months ago by gkronber

r16167: merged r16086 from trunk to stable

comment:7 Changed 11 months ago by gkronber

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.