Can I deduct a Mentorship, It was through a state program not an accredited school, for higher education learning credit?

State has implemented higher standards to keep credentialed job. Offered a Mentorship to help get up to level. Can this be deducted as a educational expense even if it was not through an accredited school?