Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Nymphodora, AndrewAMD, TipmyPip, Quad, Imhotep), 847 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
R and Machine Learning #458821
03/31/16 15:44
03/31/16 15:44
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline OP
User
Sphin  Offline OP
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Reading the new post on Financial Hacker "Build Better Strategies! Part 4: Machine Learning" I was remembered to a book I just read that explains in details the machine learning algorithms discussed in the post with source examples in R:

Brett Lantz, Machine Learning with R – Deliver Data Insights with R and Predictive Analytics

Unfortunately the examples there doesn't deal with financial matters but one gets really a comprehensive overview.

a compact intro to R; a higher-lever machine learning overview [Re: Sphin] #462066
09/06/16 13:46
09/06/16 13:46
Joined: Apr 2014
Posts: 45
Germany
webradio Offline
Newbie
webradio  Offline
Newbie

Joined: Apr 2014
Posts: 45
Germany
A small comment on Lantz's book. The author does explain some R basics, just enough to get you through excersises in the book. However, you'll feel MUCH more comfortable after this compact intro:
Impatient R

Sphin is right, no examples in the book are about trading. So keep in mind while reading about out-of-sample testing, ten-fold CV, and so on - with trading as purpose of machine learning (or any time series prediction), never peek into the future (a BAD example: train a learner on 2015 data and test on 2014. This is surely out-of-sample but worthless)

After seeing all the details in Lantz's book, you might want to get a higher level overview (only 9 pages):
Pedro Domingos - A Few Useful Things to Know about Machine Learning

Re: a compact intro to R; a higher-lever machine learning overview [Re: webradio] #462087
09/08/16 01:19
09/08/16 01:19
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
+1 for both Lantz's introductory text and the paper by Domingos. Both really useful.

You'll see k-fold CV used in many machine learning applications, but it really isn't suitable for data with autocorrelations, like asset prices. Rob Hyndman discusses a much better approach - 'time-series cross validation' - on his blog, Hyndsight.

'Time-series cross validation' is essentially the same as Zorro's walk-forward optimization, which is very convenient!

Re: a compact intro to R; a higher-lever machine learning overview [Re: boatman] #462135
09/11/16 15:19
09/11/16 15:19
Joined: Apr 2016
Posts: 38
madpower2000 Offline
Newbie
madpower2000  Offline
Newbie

Joined: Apr 2016
Posts: 38
+1 for Rob Hyndman, "Forecasting: principles and practice" are great and free: https://www.otexts.org/fpp

I personally like Andrews Ng «Machine Learning» course at coursera
https://www.coursera.org/learn/machine-learning
(It's also available as video playlist on YouTube.)

Andrew uses Octave for assignments instead R, but in video discuss in detail bolts and nuts of machine learning and give some useful practical advices, how to apply this technology.

Last edited by madpower2000; 09/13/16 18:20.
Re: R and Machine Learning [Re: Sphin] #462246
09/15/16 19:38
09/15/16 19:38
Joined: Apr 2016
Posts: 38
madpower2000 Offline
Newbie
madpower2000  Offline
Newbie

Joined: Apr 2016
Posts: 38
Another introduction book without have math: "DEEP LEARNING MADE EASY WITH R" - http://www.auscov.com

Last edited by madpower2000; 09/15/16 19:38.
Re: R and Machine Learning [Re: madpower2000] #462378
09/24/16 16:40
09/24/16 16:40
Joined: Apr 2016
Posts: 38
madpower2000 Offline
Newbie
madpower2000  Offline
Newbie

Joined: Apr 2016
Posts: 38
Catch the live-stream Bay Area Deep Learning school @youtube here: http://www.bayareadlschool.org

Re: R and Machine Learning [Re: madpower2000] #462387
09/26/16 13:11
09/26/16 13:11
Joined: Jul 2016
Posts: 64
G
gtell Offline
Junior Member
gtell  Offline
Junior Member
G

Joined: Jul 2016
Posts: 64
What about the boot proposed in Robot Wealth:

Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments

Did anyone get it?
I have tried to find out an ebook version, but unfortunately it looks only available on paper. Which is not very comfortable, but it is still acceptable :-)

Re: R and Machine Learning [Re: gtell] #462389
09/26/16 16:02
09/26/16 16:02
Joined: May 2016
Posts: 180
Prague
pcz Offline
Member
pcz  Offline
Member

Joined: May 2016
Posts: 180
Prague
Originally Posted By: gtell
What about the boot proposed in Robot Wealth:

Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments

Did anyone get it?
I have tried to find out an ebook version, but unfortunately it looks only available on paper. Which is not very comfortable, but it is still acceptable :-)


I've read it and really liked it. Even though I studied the topic at college the book taught me a lot. I think I've seen some OCRed version online. However it's more like a user manual for TSSB than a regular ML book.

Re: R and Machine Learning [Re: pcz] #462398
09/27/16 14:21
09/27/16 14:21
Joined: Jul 2016
Posts: 64
G
gtell Offline
Junior Member
gtell  Offline
Junior Member
G

Joined: Jul 2016
Posts: 64
How do you rate TSSB? Is it a complete tool or it has some gaps?
How is it with comparison of other ML tools?

Re: R and Machine Learning [Re: gtell] #462404
09/27/16 16:59
09/27/16 16:59
Joined: May 2016
Posts: 180
Prague
pcz Offline
Member
pcz  Offline
Member

Joined: May 2016
Posts: 180
Prague
Originally Posted By: gtell
How do you rate TSSB? Is it a complete tool or it has some gaps?
How is it with comparison of other ML tools?


It is an interesting tool worth trying (ideally while reading the book). The scripting language is nice. Unfortunately back then it didn't have an integration for any trading platform (it's probably still the case). I didn't want to spend time creating models in TSSB only to be forced to reimplement everything later.

However there's a tool called tssbutil which is able to run TSSB through Python function invocation and which can parse TSSB outputs. Using that it could be possible to build an automated trading system using TSSB. But it's definitely not an elegant solution. I think tssbutil is no longer maintained and it required a small fix in order to run. The fixed version can be found here.

Compared with some other tools TSSB maybe allows for more rapid prototyping (if you learn how to use it effectively) but the number of model types (e.g. regression, neural networks etc..) is somewhat limited. There's lot of indicators but if I remember correctly it's not possible to extend the scripts with completely new ones. You can use indicators which are not included by generating the indicator data in another application and loading it into TSSB though.

Last edited by pcz; 09/27/16 20:13.
Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1