[Attachment(s) from Aron Pipa included below]
hollow circles represent misclassified instances
Enjoy!
attached ( data and code )
With Newton's method you do not need to set a learning rate and the algorithm may convergence in a few iterations.
Calculations involve matrix inversion so there might not work in all the cases but when it does its awesome.
fitting a 3-d degree polynomial:
The decision boundary is drawn by hand, just to give an idea.
you can get the exact boundary by solving :
t0 + t1x + t2xy + t3y +
t4x2 + t5x2y + t6xy2 + t7y2 +
t8x3 + t9x3y + t10xy3 + t11y3 = 0
hollow circles represent misclassified instances
Enjoy!
__._,_.___
Attachment(s) from Aron Pipa | View attachments on the web
3 of 3 File(s)
Posted by: Aron Pipa <aron@myafl.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (12) |
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon