Changes json.loads to yaml.load to manage the case for imbalance dataset...

...s. e.g. fixed_parameters = [{"class_weight": {0: 1.75, 1: 3.23, 2: 10, 3: 50}}]