Ticket #1104 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Unpickled SimpleTreeClassifier crashes with a Bus error on "monks-1" dataset.

Reported by: ales Owned by: jurezb
Milestone: 2.5 Component: library
Severity: major Keywords:
Cc: Blocking:
Blocked By:

Description

import Orange, pickle
stl = Orange.classification.tree.SimpleTreeLearner()
data = Orange.data.Table("monks-1")
c = stl(data)

# print pickle.dumps(c)
c1 = pickle.loads(pickle.dumps(c))

print c(data[0])
print c1(data[0])

Change History

comment:1 Changed 2 years ago by ales_erjavec

  • Status changed from new to closed
  • Resolution set to fixed

In [ec524648dbaac7078b91a2f2ad9d47b8aed51dbd/orange]:

A workaround for a strange behavior of 'operator >>' for floats (on Mac OSX gcc 4.2.1). Fixes #1104.

Note: See TracTickets for help on using tickets.