Execute learning mode first for determining adaptive control parameters