View unanswered posts | View active topics
Forum rules
1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
one_monk
|
Post subject: Linear regression in MQL5 Posted: Thu Jan 24, 2019 10:18 pm |
|
Joined: Thu Jan 24, 2019 10:14 pm Posts: 1
|
Hi everybody, I want to solve one task with linear regression (or may be by different way): I have the function
y = ax1 + bx2 + cx3 + dx4 + ex5 + fx6
y and x1 to x6 are known and I have the matrix with their empiric values (100 examples). I want to calculate the approximation of a to f. I download the library "alglib.mqh" which must be useful. Can somebody tell me how to calculate my task - some code will be useful. Thanks!
|
|
Top |
|
|
Sergey.Bochkanov
|
Post subject: Re: Linear regression in MQL5 Posted: Fri Jan 25, 2019 11:03 am |
|
|
Site Admin |
Joined: Fri May 07, 2010 7:06 am Posts: 927
|
Hi! MQL5 version of ALGLIB is an unofficial port made by MQL developers. We do not support this library, so such questions should be asked at MQL forum.
I recommend you to look at lsfitlinear() function, but can not provide any examples in MQL.
|
|
Top |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 35 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|