Draw graph + datapoints

Job ID: 34403285

Budget: €30 – €250 EUR

Hello,

https://tex.stackexchange.com/questions/364093/plotting-overfitting-diagram
I'd like to have somewhat the same graph (functions) + datapoints drawn in LaTeX.
I'm using Overleaf and cannot just copy paste the mentioned solution in the thread.

I want to plot this in LaTeX to keep the style roughly the same for my figures. (see loss_during_training.PNG and non-linear-transformation.PNG for reference)
Related categories: Excel Matlab and Mathematica PDF LaTeX Mathematics