Machine learning models for generating the drilled porosity log for composite formations