Machine learning in trading: theory, models, practice and algo-trading - page 2801

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
https://www.mql5.com/ru/blogs/post/723619
By the way, does anyone know how to calculate the root of the Gini index (I understand how to calculate the root, but the Gini index itself)? I'd prefer a code example. It would be interesting to experiment with it.
As I noted at the time "Giniindex and Gini coefficient are different things - don't confuse them".
For the G ini coefficient we use a GSC, i.e. we add noise. I have attached to the article the found code for calculating R and PY.
Index is something else.
By the way, does anyone know how to calculate the root of the Gini index (I understand how to calculate the root, but the Gini index itself)? I'd prefer an example of the code. It would be interesting to experiment with it.
As I noted at the time "Giniindex and Gini coefficient are different things - don't confuse them".
For the G ini coefficient we use a GSC, i.e. we add noise. I have attached to the article the found code for calculating R and PY.
Index is something else.
There is Gini coefficient and there is Gini Impurity. The first is used as a metric in binary classification, article. The second is used in decision trees as an analogue of entropy.
Once you made a script, which I decided to use again
I ran it on a sample, and it gives an error - I can't understand where to look for the error and how to fix it - maybe you know, since you use these libraries/packages?
Everything worked fine on a binary sample.
You once made a script that I decided to use again.
I ran it on a sample, and it gives an error - I can't understand where to find the error and how to fix it - maybe you know, since you use these libraries/packages?
Everything worked fine on a binary sample.
I don't use this bibliotheca, I did it once, I think it was just for you.... You must have done something wrong with your new data if it works with the old data.
Yeah, for me. It works with binary, before I looked it was mostly running on binary. Too bad they don't tell you which column/row is wrong.
Yeah, for me. It works with binary, before I looked it was mostly running on binary. Too bad they don't tell you which column/row is wrong.
Double-check your data to make sure it matches those binary....
Why do they have to match the binary? I just said that the script works, but it doesn't work with all data.
I cut the sample and attached the script in a separate archive.
The script removes correlated columns from the sample and saves the new sample.
Columns are excluded depending on the correlation threshold.
Why do they have to match the binary? I just said that the script works, but it doesn't work with all data.
Here you go, I had to rewrite it all over again, it was so shitty code that I didn't understand what it was doing
You once made a script that I decided to use again.
I ran it on a sample, and it gives an error - I can't understand where to find the error and how to fix it - maybe you know, since you use these libraries/packages?
Everything worked fine on a binary sample.
The error says that undefined values(NA) have appeared in the correlation matrix and the findCorrelation function cannot use it. Open the package and read the function description.
The scripts are messy and a sea of unnecessary intermediate results. below is the corrected script
Explanations in order:
1. You don't need to load the "caret" package into the global scope. It is very heavy, pulling a lot of dependencies and data. You only need one function of it. You import it directly into the get.findCor function.
The tidyft package is a very fast dataframe manipulation package. Use it.