Ticket #832 (closed bug: fixed)
MeasureAttribute_relief raises na exception on regression datasets.
|Reported by:||ales||Owned by:||janez|
Description (last modified by ales) (diff)
when evaluating an attribute on a data-set with continuous class. Example code:
import Orange data = Orange.data.Table("auto-mpg") Orange.feature.scoring.Relief(data.domain, data)
KernelException: 'orange.AttributedFloatList': vector subscript out of range
The problem seems to be in measures.cpp:1206. The ExamplesDistance_relief::operator()(int&, TValue&, TValue&) gets called for the class, but the normalizations/averages for the class variable are no longer computed since r8714.