Machine Learning Applications In Advanced Additive Manufacturing: Process Modeling, Microstructure Analysis, And Defect Detection