modified:   liblinear_wrapper.py
now generate_events removed, add_events returns int events