This study presents a fuzzy multi-objective optimization framework for a hybrid microgrid comprising photovoltaic, wind energy sources, and battery storage in a distribution network, utilizing a multi-objective improved Kepler optimization algorithm (MOIKOA). It employs machine learning via a multilayer perceptron artificial neural network (MLP-ANN) to forecast key meteorological and load data, demonstrating significant benefits over traditional optimization methods in minimizing energy losses, voltage oscillations, and costs associated with energy purchase. Results indicate that optimizing with forecast data and investigating the battery's depth of discharge can enhance microgrid performance, highlighting areas previously underexplored in existing literature.