Let's tear your eyeballs away from TikTok...at least for a little bit.
Support vector regression can predict numeric values effectively, and this article shows how to implement and train a kernel SVR model in C# using stochastic sub-gradient descent.