init ml-class