Hi Divya,
Please refer this document and blog,
https://docs.mendix.com/refguide/machine-learning-kit/
Also Mendix giving one demo model app refer this also for more understanding,
https://github.com/mendix/mlkit-example-app
Thanks & Regards,
Manikandan K