RokIvansek / attribute-interactions

A python implementation of attribute interactions. An Orange add-on (scripting part only).
2 stars 0 forks source link

Missing values #7

Closed RokIvansek closed 8 years ago

RokIvansek commented 8 years ago

Make sure your implementation handles missing values appropriately. The entropy function should not count NAs as a valid value when calculating probability distribution of an attribute.

RokIvansek commented 8 years ago

Solved using np.isnan which is supposedly the proper way according to: http://docs.orange.biolab.si/3/data-mining-library/tutorial/data.html#missing-values