Convert Python KalmanFilter to MQL5

指定

In this task, you should translate pykalman (https://github.com/pykalman/pykalman/blob/master/pykalman/standard.py#L920) to MQL5, features that must be translated:


initilization: KalmanFilter(transition_matrices=A,transition_covariance=Q)

function em: kf.em(z)

function smooth: x_mean,x_covar=kf.smooth(z)

function filter_update: kf.filter_update(filtered_state_mean=x_mean, filtered_state_covariance=x_covar)     and variant with "observation"



A and Q is a CMatrixDouble(in test case it's (3,3)) matrix (from <Math/Alglib/matrix.mqh>)

z is a double[] array

x_mean and x_covar is a CMatrixDouble, it's the output of kf.smooth() step


I will provide a copy of test data to execute and validate this task, and a copy of python code too
I don't want to use python, just mql5

反馈

1
开发者 1
等级
(46)
项目
80
13%
仲裁
11
0% / 91%
逾期
51
64%
空闲
2
开发者 2
等级
(7)
项目
9
0%
仲裁
3
0% / 100%
逾期
5
56%
空闲

项目信息

预算
30 - 100 USD
截止日期
 20  60 天