Well perhaps things are different at your school but if attendance isn't mandatory, then I wouldn't feel guilty about it--especially if the reason was due to something legitimate like health problems. We have a few classes where the notes are posted online (rarely helpful) and attendance isn't required. People show up because they don't have anything better to do or they're already on campus.