OK,
All you really know is that she is "hot" and she's in your class. Is she seeing someone? What does she talk about? What do you know about her besides she's hot and a convenient target for male attention?
There are some really good comments above.
1. Be confident. Confidence is attractive.
2. Get to know her as a person. That's tough to do from a distance. Take interest in her. Ask her what draws her to a class like this. LISTEN. Don't share your story unless she wants to know why you are there. (That's a good sign, BTW)
The first two are probably the biggest because women are about relationships (generally speaking) so you finding her hot, while interesting to most of the guys here, probably will not impress her. You taking the time to learn something about her other than her hotness may win you a huge number of cool points.
Others that may help:
3. Be safe. You don't want to be a stalker or as my stepdaughter would say, a creeper.
4. Be interesting. You are fishing, so you have to use a lure she finds interesting. That comes from getting to know something about her.
5. Be respectful. If she says no, no means no. If she's in a relationship, wish her the best, even if she's lying to give you the brush off.
Girls/women talk. My stepdaughter dated a boy and he turned out to be as she says, a real creeper. He got upset when she broke it off. The problem for him is that word got around about his behavior. He failed to consider than in the 12000 text messages a month she sends, a good number of them put out the word that he was a jerk and a creeper, so his options are seriously diminished today.
So in a high school with over 2000 students, his options are now seriously limited.
Dating in the information age means bad news is more quickly spread. Don't make yourself into bad news.