Ticket #1259 (new bug)

Opened 21 months ago

EarthLearner fails TestLearners precheck

Reported by: ales Owned by: ales
Milestone: 2.6 Component: canvas
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


If the domain size is small (less than 4). In line 326

n = len(self.data.domain.attributes)*2
indices = orange.MakeRandomIndices2(p0=min(n, len(self.data)), stratified=orange.MakeRandomIndices2.StratifiedIfPossible)
new = self.data.selectref(indices(self.data), 0)

n can be too small, EarthLearner requires at least 8 instances.

Note: See TracTickets for help on using tickets.