[ML] add condition for changing default value in dimension array