Optimizing Dividend Policies with AI: A Deep Dive