The use of artificial intelligence (AI) is becoming increasingly common in deciding where offshore energy projects such as wind farms, oil platforms and pipelines should be placed in the ocean.