Can artificial intelligence better predict flooding in coastal areas?