Learning classes with bank transactions and accounts