How to Generate Features by Event