LMFAO HAHHAHHAHAHAHAHAHAHAAHHAHAHAabsolutely nutthin - What is it good for? Absolutely nothing, uhh
























LMFAO HAHHAHHAHAHAHAHAHAHAAHHAHAHAabsolutely nutthin - What is it good for? Absolutely nothing, uhh
























Hello barkbark,I've read a few books, and watched youtube videos, but maybe I'm just too retarded to figure it out.![]()
%%start by reading ernie chan

Good thing for me i had studied mountain lions+ tigers; i could have gotten killed[absolute nuthin ]with them.

absolutely nutthin - What is it good for? Absolutely nothing, uhh
Machine learning is just modelling an outcome to variables. An outcome can be lineair or categoric. Machine learning is just modelling these outcomes from your given variables, and "the machine" returns you the best model. Basically when correlation is high your model will be well fitted to the data. This is always "known data", the past. Models cannot measure causality. The problem you had is that you modelled the past data but the correlation break with future data because they are not causal, or have changed.
Btw ANN's are also build upon lineair and logestic regression functions.
Interesting, will look it up! Was unknown with this field.What do you think of "causal AI" then?
%%Regression in machine learning is predicting a continuous value as opposed to classification, identifying which category something belongs to.
So you are correct you would use it to try to predict the value of the next step.
You can see all the various flavors of regression on the scikit-learn page
https://scikit-learn.org/stable/supervised_learning.html#supervised-learning
If the system is too good to be true you are probably leaking data if using closing prices. If you are predicting the close of SPY but the model already knows the close of QQQ for that day it is like giving the model a crystal ball that will only work in backtesting. That is an obvious example but there could be much less obvious things like that from the correlation of features with what you are trying to predict.
A random forest regressor can show the feature importance for what contributed to the prediction, that can be interesting in and of itself. A linear model is a good starting point though and then see if something else can do better than the linear model.


I've been mainly playing with the linear regression algorithm in python, but I don't really understand the purpose of it.
I get backtesting. You have a trading strategy with entries and exits, and you see how many times it wins and loses and how much profit you get from it, and so on.
But I can't figure out how to apply linear regression to that. Anytime I put something together it looks really profitable, but I know that the rules I used don't work in real life. On top of that, attempting to ascertain the profitability of the rules, doesn't really seem to work in the way backtesting does.
Some video made it seem like it's supposed to predict the next/future value of the set, given the parameters. In which case I'm just going about it the wrong way.
I've read a few books, and watched youtube videos, but maybe I'm just too retarded to figure it out.![]()