Encoding Class Attendance per Subject