General question from a beginner

Hi everyone,
I am a complete beginner in machine learning and I have a general question.

Let’s say I have a 1D function with 300 points and I would like to extract 2 specifics points of this function. So my neural network would have 300 inputs and 2 outputs. I have thousands of these functions where I know precisely these two points and I would like to build a neural network to do the exact same thing. My general question for you is what kind of neural network I should use and where to start. I would need to learn how to properly set my datas and I was wondering if keras datatype would be the best way.
Thank you for your help

I have a fresher in this then have same question.