Machine Learning-Enhanced Process Parameter Optimization And Microstructure Prediction In Additive Manufacturing