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
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 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
How to use the python bridge for a machine learning strategy #479287
03/15/20 03:03
03/15/20 03:03
Joined: Oct 2018
Posts: 72
J
JamesHH Offline OP
Junior Member
JamesHH  Offline OP
Junior Member
J

Joined: Oct 2018
Posts: 72
From the manual: "You can use [Train] mode and WFO for training Python machine learning algorithms, f.i. a SVM or neural network. For this, send training data to Python at the end of every WFO cycle, and store the trained models in files for later use in the [Test] or [Trade] session, similar to the neural function for R. A neural function for Python will be provided in a future Zorro version. "

I am trying to understand the best way to send the training data to Python at the end of the training period.

Would I append the signals for each bar to some file on every loop of run()? Or is there some way obtain the entire signals data set over the entire training run to be passed on to Python?

Re: How to use the python bridge for a machine learning strategy [Re: JamesHH] #479292
03/16/20 08:49
03/16/20 08:49
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
You normally train the entire data set at the end of any wfo cycle. Check out the neural function in r.h - you'll need the same function, only calling Python code instead of R code.

Re: How to use the python bridge for a machine learning strategy [Re: jcl] #479312
03/16/20 23:19
03/16/20 23:19
Joined: Oct 2018
Posts: 72
J
JamesHH Offline OP
Junior Member
JamesHH  Offline OP
Junior Member
J

Joined: Oct 2018
Posts: 72
So I write my own function neural, if I understand. Makes sense.

Last edited by JamesHH; 03/16/20 23:45.
Re: How to use the python bridge for a machine learning strategy [Re: JamesHH] #479512
04/03/20 10:29
04/03/20 10:29
Joined: Dec 2014
Posts: 204
Germany
Smon Offline
Member
Smon  Offline
Member

Joined: Dec 2014
Posts: 204
Germany
I thought using python for deep learning isn't possible yet, because all python machine learning packages are 64bit only and there is no python64bit bridge yet..???

Re: How to use the python bridge for a machine learning strategy [Re: Smon] #479553
04/06/20 03:21
04/06/20 03:21
Joined: Oct 2018
Posts: 72
J
JamesHH Offline OP
Junior Member
JamesHH  Offline OP
Junior Member
J

Joined: Oct 2018
Posts: 72
Originally Posted by sdh309795gaas
I thought using python for deep learning isn't possible yet, because all python machine learning packages are 64bit only and there is no python64bit bridge yet..???


I never heard that, and I have installed tensorflow on my 32-bit python installation.

Last edited by JamesHH; 04/06/20 03:22.
Re: How to use the python bridge for a machine learning strategy [Re: Smon] #479777
04/25/20 22:49
04/25/20 22:49
Joined: Oct 2018
Posts: 72
J
JamesHH Offline OP
Junior Member
JamesHH  Offline OP
Junior Member
J

Joined: Oct 2018
Posts: 72
Originally Posted by Smon
I thought using python for deep learning isn't possible yet, because all python machine learning packages are 64bit only and there is no python64bit bridge yet..???


It looks like you were correct.

I was using python from the R bridge. I assumed it was 32-bit, but I must have been mistaken. I wish someone had corrected me.

So we can only use 64-bit python with Zorro through the R-bridge?? That seems ridiculous. I will have to check the forum for discussion on the python bridge.

Re: How to use the python bridge for a machine learning strategy [Re: JamesHH] #479778
04/25/20 23:00
04/25/20 23:00
Joined: Oct 2018
Posts: 72
J
JamesHH Offline OP
Junior Member
JamesHH  Offline OP
Junior Member
J

Joined: Oct 2018
Posts: 72
Originally Posted by JamesHH

It looks like you were correct.

I was using python from the R bridge. I assumed it was 32-bit, but I must have been mistaken. I wish someone had corrected me.

So we can only use 64-bit python with Zorro through the R-bridge?? That seems ridiculous. I will have to check the forum for discussion on the python bridge.


Here is the relevant thread: [url=https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=477133]#477134


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