What is out of sample and in sample data?

 

Recently I've been seeing a lot the terms in sample and out of sample, for what I have researched it refers to real market condition a backtest data.

 
Osmar Sandoval Espinosa:

Recently I've been seeing a lot the terms in sample and out of sample, for what I have researched it refers to real market condition a backtest data.

I won't go deep into it since there's a ton of info out there you've probably already come across. But basically, "in-sample" data is what you use to train and shape the model, and "out-of-sample" data is what you use afterward to see if those learned patterns actually hold up in real-world conditions.