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

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
Well, if it's a stupid averaging, the authors didn't bother to add a sell? )))
Well, I know personally on Forex one pattern that only in longing works like clockwork every day.
The same inflation is also a pattern, the stock market always grows thanks to it.
Well, it doesn't work that way on the sell side.)
Well, it doesn't work that way already )
which confirms the fact that a pattern does not have to work both ways :)
Self-written. But there is a check code there - the results of assignment to clusters from it and from KMeansGenerate on the training matrix coincided completely when I checked.
.
Each Restarts - with different starting points to start with. There is randomisation, but (probably) not repeatable - haven't checked. I think this could be refined if you really need to....
I've sketched the code, everything compiles, but I get an error in the library - maybe I'm feeding the data in the wrong way?
Here is the error:
Error here
first thing I saw
first thing I saw
Thanks, it really helped - it's strange that it doesn't give an error when filling with data from an array.
This code
However, I get a value of "-3" in the KM_info variable - and now it's a mystery. Any ideas why this is the case?
Thanks, really helped - it's strange that it doesn't give an error when filling with data from an array.
This code
However, I get a value of "-3" in the KM_info variable - and now it's a mystery. Any ideas why this is the case?
See the code
if(zerosizeclusters)
{
//--- Some clusters have zero size - rare,but possible.
//--- We'll choose new centres for such clusters using k-means++ rule
//--- and restart algorithm
if(!SelectCenterPPP(xy,npoints,nvars,ct,cbusy,k,d2,p,tmp))
{
info=-3;
return;
}
continue;
}
Probably because you only have 0 and 1. Check it on more diverse data first
See the code
if(zerosizeclusters)
{
//--- Some clusters have zero size - rare,but possible.
//--- We'll choose new centres for such clusters using k-means++ rule
//--- and restart algorithm
if(!SelectCenterPPP(xy,npoints,nvars,ct,cbusy,k,d2,p,tmp))
{
info=-3;
return;
}
continue;
}
Probably because you only have 0 and 1. Check with more diverse data first
Checked on a variety of numbers
The result is the same :(
Something else I'm doing wrong....
you're dead wrong.
or you're wrong
He's damn right.
Tested it on a variety of numbers
The result is the same :(
Something else I'm doing wrong ...
MatrixLearn
Printed like this - got zeros
Did I print it correctly?
If it is correct, then there is an error here
MatrixLearn[row].Set(col,Input_arr_Data[N_Stolb*row+col]);//строка/столбец
I did it by analogy, as in your code.