<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_yaml(self, outFile):
 """saves the config parameters to a json file"""

        with open(outFile,'w') as myfile:
            print(yaml.dump(self.params), file=myfile)