<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def loadModel(self, model_file):
 """load q table from model_file"""

        with open(model_file) as f:
            self.q_table = json.load(f)