Ticket #1175 (new bug)

Opened 2 years ago

NaiveLearner on continuous features

Reported by: lanz Owned by: anze
Milestone: 2.6 Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


NaiveLearner works on continuous features, but not when they are all 0 or 1. Probably needs some adjustment in loess window settings.

To reproduce:

import Orange

data = Orange.data.Table('voting')
continuizer = Orange.data.continuization.DomainContinuizer()
continuizer.class_treatment = continuizer.Ignore
domain0 = continuizer(data)
data0 = data.translate(domain0)
c = Orange.classification.bayes.NaiveLearner(data0)
print c.conditional_distributions

Compare for example to using it on iris, where it works fine.

Note: See TracTickets for help on using tickets.