Ticket #875 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

LogRegLearner does not pickle

Reported by: ales Owned by: ales
Milestone: Future Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

on unpickling raises a

TypeError: expected 'orange.Variable', got 'dict'
> /sw/lib/python2.7/pickle.py(1182)load_append()
   1181         list = stack[-1]
-> 1182         list.append(value)
   1183     dispatch[APPEND] = load_append

with value:

{'source_variable': None, 'ordered': 1, 'var_type': 2,
'scientific_format': 0, 'random_generator': None,
'end_value': 0.0, 'number_of_decimals': 3, 'distributed': 0,
'step_value': -1.0,
'get_value_from': <ClassifierFromVar instance at 0x29c8610>,
'default_meta_id': 0, 'start_value': -1.0, 'adjust_decimals': 2,
'name': 'a=3'}

and list:

<>

of type orange.VarList

Change History

comment:1 Changed 3 years ago by ales

  • Summary changed from LoRegLearner does not pickle to LogRegLearner does not pickle

comment:2 Changed 3 years ago by ales

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

Replaced by #887.

Note: See TracTickets for help on using tickets.