This survey on machine and federated learning as a support to medical decisions is an extended version of my inaugural lecture delivered on $3$rd meeting of Department of Mathematics, Physics and Geosciences in the Serbian Academy of Sciences and Arts under the same title on April $25, 2025$.