Commit d9a5f6c7 authored by Anze Vavpetic's avatar Anze Vavpetic

forgot to remove some test code in mysql library.py

parent bed57947
......@@ -38,8 +38,6 @@ def mysql_aleph_converter(input_dict):
if not target_att_val:
raise Exception('Please specify a target attribute value.')
aleph = Aleph_Converter(input_dict['context'], target_att_val=target_att_val, discr_intervals=input_dict['discr_intervals'] or {})
with open('test_aleph.b', 'w') as f:
f.write(aleph.background_knowledge())
return {'pos_examples' : aleph.positive_examples(), 'neg_examples' : aleph.negative_examples(), 'bk' : aleph.background_knowledge()}
def mysql_treeliker_converter(input_dict):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment