Classification using cluster weighted modeling for time to event data