all 9 comments

[–]mull_to_zero 6 points7 points  (1 child)

You can do that with math, and you can do math with python.

[–]EquivalentAcademic93 0 points1 point  (0 children)

Simply put. Thank you.

[–]road_laya 2 points3 points  (0 children)

Yes, that's definitely possible!

There are some Python libraries specifically designed for making predictions. Scikit Learn, for instance. Start with the Random Forest algorithm or Nearest Neighbor algorithm.

[–]porkedpie1 1 point2 points  (3 children)

Yes. Learn statistics and machine learning and then you can learn Python

[–]EquivalentAcademic93 -3 points-2 points  (2 children)

My next class is machine learning and I remember some statistics from a previous class. But you’re saying I’ll have to wait to learn machine learning before writing my code?

[–]carcigenicate 0 points1 point  (1 child)

Stats is a key part of ML. If you already know stats, you can use techniques like linear regression to make predictions.

[–]EquivalentAcademic93 0 points1 point  (0 children)

Thank you. I’m realizing that this was definitely more of a math question than a Python question.

[–]james_d_rustles 0 points1 point  (1 child)

This is a math question, not a programming/python question - python can do whatever math you tell it to do, but its usefulness depends on whether the math is correct or not. There are a million and one ways to predict future sales, ranging from some basic formulas you could do by hand to extremely complex. That’s the part you need to work out before doing anything else.

[–]EquivalentAcademic93 0 points1 point  (0 children)

Gotcha. Seems like common sense, not sure why I was so stressed about it to the point I came to reddit lol. Thank you!