Machine learning in trading: theory, models, practice and algo-trading - page 1839
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ahahahaha )))) LIVE !!!
I want to ask everyone's advice.
In the Darch package I found the following option of model evaluation:
We count the error on the track and on the oob sections.
Then the final error is counted as
err = oob_error * comb_err_tr + train_err * (1 - comb_err_tr);
where comb_err_tr = 0.62. The multiplier that controls the contribution of errors from the train and oob sections. If you set it to 0, the estimation is by train only. If you set it to 1, the estimation is only by oob.
0.62 means that the error from oob has a little bit more weight in total model estimation.
I used this formula for a while, but now I have doubts.
The error on oob usually has a limit, and on train if overtraining went on, it could go as low as 0.
Approximately like this: (green is the estimated error from the formula)
According to this formula, the error will continue to decrease due to the decreasing trn error. And will only stop dropping when trn stops decreasing. At the same time, when retraining has started, the error on oob will start to grow.
In my opinion, stopping learning when err by formula begins to grow is too late.
Even at the point where the error oob is minimal is not optimal either. Due to a lucky randomization we accidentally found a minimum on oob, but it could be a fit to oob.
Maybe we should take the minimum error on oob, and count it as a limit for the error on train? That is, stop teaching the model when the error on trn became equal to the best error on oob (where I drew the vertical line)? The error on the oob will be worse, but it won't be a fit for either train or oob.
I want to ask everyone's advice.
In the Darch package I found the following option of model evaluation:
We count the error on the track and on the oob sections.
Then the final error is counted as
err = oob_error * comb_err_tr + train_err * (1 - comb_err_tr);
where comb_err_tr = 0.62. The multiplier that controls the contribution of errors from the train and oob sections. If you set it to 0, the estimation is by train only. If you set it to 1, the estimation is only by oob.
0.62 means that the error from oob has a little bit more weight in total model estimation.
I used this formula for a while, but now I have doubts.
The error on oob usually has a limit, and on train if overtraining went on, it could go as low as 0.
Approximately like this: (green is the estimated error from the formula)
According to this formula, the error will continue to decrease due to the decreasing trn error. And will only stop dropping when trn stops decreasing. At the same time, when retraining has started, the error on oob will start to grow.
In my opinion, stopping learning when err by formula begins to grow is too late.
Even at the point where the error oob is minimal is not optimal either. Due to a lucky randomization we accidentally found a minimum on oob, but it could be a fit to oob.
Maybe we should take the minimum error on oob, and count it as a limit for the error on train? That is, stop teaching the model when the error on trn became equal to the best error on oob (where I drew the vertical line)? The error on the oob will be worse, but it won't be a fit for either train or oob.
Trading system through the eyes of an algotrader
R - you're just apuenenen! :)
What about the digital filters or levels show anything interesting? :D
Do the digital filters or levels show anything interesting? :D
The last thing I did was to look for a pattern superposition...
We have a level - when the price crosses it, we fix this pattern and fix it as a training sample
Patterns can be different.
Moreover, at one moment there may be many patterns at the same time, that's the whole point, I'm looking for a clear pattern in this set of patterns that appeared in the moment, a clear set that solves something
For mining rules by patterns I use"associative rules" this approach differs from usual ones by the fact that each training example may contain any number of elements and doesn't take into account the orderliness of signs, which is also good as for me
the target - to find an extremum from which there will be an increase by 10 points
not the best solution, but that's what I'm writing about, so far only buy
The "apriori" mining algorithm from the "arules" package
this is how the found rules look like
here's rule "1" (the best one) in action on the new data
without any tampering, as is, in the sequence as is...
decide for yourself, if this is an interesting topic or not
continuation of the same
Then it is possible to add AMO to these inputs as if "from above" to filter an entry/no entry.
There is also infinite potential to increase the number and quality of patterns
Maybe something cool will come out, but I don't have energy and fuse, I've gone on a creative drinking spree ((
I think the levels are the most promising tool for creating TS ...
In my opinion, the level is not a stupid fractal of Bill Williams, but an event at a specific price, most likely "a lot of moves".
Then you can add AMO to these inputs as if "from above" to filter to enter/not to enter.
There is also infinite potential to increase the quantity and quality of the patterns
Maybe something cool will come out, but I have no energy and no fuse, I'm on a creative drinking binge ((
I will read when I will have enough energy ())
I'll read it when I get the hang of it ))
google something shorter, there's essentially nothing to read.
Oh, how f-cked up... people don't booze, never booze, never, never....
I see that you are trying to find a pattern. It is as simple as three kopecks) It is the wave theory. But it's not in the public domain at the moment.
Imagine you've been married for 22 years. How likely is it that you will get divorced today or tomorrow? Teach machine learning this understanding and only then move on to the simpler questions - the financial markets.
I understand that I'm having a hard time approaching the topic.
Respectful of Yusuf's words. He was always correct about the continuity of history and the current moment. And the importance for the future.