Fix a bug on python code -- 2

Job ID: 33889484

Budget: $10 – $30 USD

I need a python ML expert to debug my code as follows:
1.) IndexError: index 0 is out of bounds for axis 0 with size 0
2.) Optimise the accuracy of the models