If these classes were taken to obtain a license or meet qualifications so that you could enter a new business or profession, or perhaps a first job, they are not deductible.
See this link from the IRS: https://www.irs.gov/taxtopics/tc513.html
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"