Combine multiple ML codes to one -- 2

Job ID: 37086758

Budget: $10 – $15 USD

Hey experts,

I have attached python ML codes with the same logic but different targets.
I need you to combine my codes, and make it dynamic for me to add more targets later

I prefer the code in Jupyter Notebook.

Budget: 12$
Timeline: 1hr