Problem is, I'm not the one who comes up with all these definitions, so I can only send to Google, for more accurate information. I can find a link to that article later. But it's about entropic analysis of series, stationary and not so stationary
Maxim Dmitrievsky #: The problem is that I do not make up all these definitions, so I can only send to Google, for more accurate information. I can find a link to that article later
Well, that's the funny thing...
You said "regularity," I don't know what that is, so I didn't ask you and I went and googled it and it turns out that's not what you meant. If I didn't know that, we'd be using the same concept (regularity) implying different things, so we'd never get to the point...
I want to train SMM, but in an unusual way, through a fitness function, genetic or other...
I want to make state transition matrices myself... There is a package, there are these matrices, but what and where to change I do not really understand, can you help with this?
The fitness function in HMM is the logarithm of likelihood. If you come up with a custom f. f., that's already some other method.
In HMM, the fitness function is the logarithm of likelihood. If you come up with a custom f. f., it is already some other method.
So what do we need to optimize ?
fit <- HMMFit(x , nStates = 3)
> fit
Call:
----
HMMFit(obs = x, nStates = 3)
Model:
------
3 states HMM with 5-d gaussian distribution
Baum-Welch algorithm status:
----------------------------
Number of iterations : 60
Last relative variation of LLH function: 0.000001
Estimation:
-----------
Initial probabilities:
Pi 1 Pi 2 Pi 32.636352 e-2552.770966 e-501
Transition matrix:
State 1 State 2 State 3
State 10.18649870.760467990.05303333
State 20.25394740.603773500.14227910
State 30.61914880.071573080.30927815
Conditionnal distribution parameters:
Distribution parameters:
State 1
mean cov matrix
0.47529390.975873700.02993559 -0.218057410.256396510.1567241
-0.56860390.029935590.853427470.433749210.18220534 -0.21496880.3739333 -0.218057410.433749210.58127533 -0.01600787 -0.2097350
-0.38335890.256396510.18220534 -0.016007871.13979299 -0.3723484
-0.58711680.15672407 -0.21496881 -0.20973503 -0.372348351.0462750
State 2
mean cov matrix
0.079491121.146441700.21413163 -0.05544488 -0.029024060.041790520.153060290.214131630.84865045 -0.19661403 -0.123977400.01617397
-0.03560680 -0.05544488 -0.196614031.258729150.156386950.039172040.07304988 -0.02902406 -0.123977400.156386950.700738380.029342270.355000640.041790520.016173970.039172040.029342270.65031019
State 3
mean cov matrix
-0.50934260.60603137 -0.214627080.063226060.272314070.10763860.1526545 -0.214627080.56847783 -0.06347737 -0.159412110.2161427
-1.06728760.06322606 -0.063477370.176625990.086582920.19816280.77788530.27231407 -0.159412110.086582921.174972740.4802186
-0.25410080.107638580.216142700.198162760.480218580.7488420
Log-likelihood: -1379.07
BIC criterium: 3118.43
AIC criterium: 2894.14
You said "regularity," I don't know what it is, so I didn't ask you and I went and googled it and it turned out to be not what you meant. If I hadn't understood that, we'd be using the same concept (regularity) implying different things, thus we'd never get to something common...
All because of one pseudoscientific idiot...
The moral of this pseudo-science is that stationarity does not mean predictability, and vice versa :D Markets are unpredictable because they are non-stationary. And they are not unsteady because they are unpredictable. That's it, I'm tired.
So everything is already optimized by the Baum-Welch algorithm. The optimal value of the logarithm of likelihood is written out below. The parameters (transition matrix and others) are calculated.
By the way, the term "regularization" is also used when describing comb and lasso regressions) There, it means compression of coefficients to zero in order to reduce the variance of the model.
So everything is already optimized by the Baum-Welch algorithm. The optimal value of the likelihood logarithm is written out below. The parameters (transition matrix and others) are calculated.
This is just a model trained to three states, and I want a model that will be trained so that my fitness function was satisfied.
Imagine that I train a neuron, change its weights by genetics and watch its fitness.
I want to do the same with SMM, but I will change its transition matrix.
But it's clear what to change with the weights of the neuron, and not so much with this one.
This is a model trained in the three states, and I want a model that will be trained so that my fitness fu. was satisfied.
Imagine that I train a neuron, change its weights with genetics and watch its fitness.
I want to do the same with SMM, but I will change its transition matrix.
But with the weights of the neuron it is clear what to change, and here not so much.
What I need is the ability to set a custom FF. But this function HMMFit() doesn't support this possibility, because it implements a Baum-Welch with a rigidly sewn into it LLH. You can only set some Baum-Welch parameters.
You need another package where you can set a user-defined f.f.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
looking for the road to the nuthouse? :)
The problem is that I do not make up all these definitions, so I can only send to Google, for more accurate information. I can find a link to that article later
Well, that's the funny thing...
You said "regularity," I don't know what that is, so I didn't ask you and I went and googled it and it turns out that's not what you meant. If I didn't know that, we'd be using the same concept (regularity) implying different things, so we'd never get to the point...
And all because of one pseudoscientific idiot...
I want to train SMM, but in an unusual way, through a fitness function, genetic or other...
I want to make state transition matrices myself... There is a package, there are these matrices, but what and where to change I do not really understand, can you help with this?
The fitness function in HMM is the logarithm of likelihood. If you come up with a custom f. f., that's already some other method.
In HMM, the fitness function is the logarithm of likelihood. If you come up with a custom f. f., it is already some other method.
So what do we need to optimize ?
Here is a model for three states
So that's the funny thing...
You said "regularity," I don't know what it is, so I didn't ask you and I went and googled it and it turned out to be not what you meant. If I hadn't understood that, we'd be using the same concept (regularity) implying different things, thus we'd never get to something common...
All because of one pseudoscientific idiot...
That's it, I'm tired
Me too)
So what needs to be optimized?
Here's a model for the three states.
So everything is already optimized by the Baum-Welch algorithm. The optimal value of the logarithm of likelihood is written out below. The parameters (transition matrix and others) are calculated.
So everything is already optimized by the Baum-Welch algorithm. The optimal value of the likelihood logarithm is written out below. The parameters (transition matrix and others) are calculated.
This is just a model trained to three states, and I want a model that will be trained so that my fitness function was satisfied.
Imagine that I train a neuron, change its weights by genetics and watch its fitness.
I want to do the same with SMM, but I will change its transition matrix.
But it's clear what to change with the weights of the neuron, and not so much with this one.
This is a model trained in the three states, and I want a model that will be trained so that my fitness fu. was satisfied.
Imagine that I train a neuron, change its weights with genetics and watch its fitness.
I want to do the same with SMM, but I will change its transition matrix.
But with the weights of the neuron it is clear what to change, and here not so much.
What I need is the ability to set a custom FF. But this function HMMFit() doesn't support this possibility, because it implements a Baum-Welch with a rigidly sewn into it LLH. You can only set some Baum-Welch parameters.
You need another package where you can set a user-defined f.f.