this post was submitted on 24 Nov 2023
1 points (100.0% liked)

Machine Learning

1 readers
1 users here now

Community Rules:

founded 11 months ago
MODERATORS
 

I have a dataset of two column values something like the one shown below. I need to predict the values of y for values of x greater than 60. The curve must follow the increasing trend it is shown till x=60.

I have tried polynomial regression and SVR but it declines for values greater than 60. I have tried to fit the curve y = alnx + b to this curve but the R2score is 0.94. What model can I train for this purpose, or how can I improve the R2score but regressing over an appropriate logarithmic function?

https://preview.redd.it/f9oxc20zga2c1.png?width=1208&format=png&auto=webp&s=b7918c9d9dd2bb930a2e903483d5a230f2dcfce5

you are viewing a single comment's thread
view the rest of the comments
[–] MrShizzo@alien.top 1 points 10 months ago

What i would do, and i dont really have a clue:

Plot points not a line, you dont know whats between the points, so your line is just an assumtion.

Cut away the first few points to get rid of this strange jump

If there is a physical theorie behind, use it

If you want to do ML, use 10..20% of your points. Fit you basic function, compare with rest of datapoints.