Depends where you think composition comes on the spectrum of science or art. There can be some general guidelines about what makes for 'good' composition, but in the end the bigger question is 'do you like it?' If you do, and it breaks all the rules of composition, so much the worse for the rules.
I'm with those who suggest looking at lots and lots of images, photographic and otherwise, because you will see great images with composition that in theory should not 'work' because it doesn't follow the rules. (Or alternatively, someone will explain how it does follow the rules based on an entirely subjective interpretation of the image). In particular, if you go to an art gallery that has works from the medieval era through to contemporary art and you work your way through chronologically you will see that the 'rules' change over time and composition is not a static phenomenon. (This is true in galleries that focus almost exclusively on 'Western' art - add in other artistic traditions and it's even more diverse).
The other thing to bear in mind is that it is possible to over think all of this stuff
I'm with those who suggest looking at lots and lots of images, photographic and otherwise, because you will see great images with composition that in theory should not 'work' because it doesn't follow the rules. (Or alternatively, someone will explain how it does follow the rules based on an entirely subjective interpretation of the image). In particular, if you go to an art gallery that has works from the medieval era through to contemporary art and you work your way through chronologically you will see that the 'rules' change over time and composition is not a static phenomenon. (This is true in galleries that focus almost exclusively on 'Western' art - add in other artistic traditions and it's even more diverse).
The other thing to bear in mind is that it is possible to over think all of this stuff