Learning hours and credit values