Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/16/24 11:18
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (VoroneTZ, ricky_k, Nymphodora, rki, 7th_zorro, Volkovstudio), 420 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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: 206
Germany
Smon Offline
Member
Smon  Offline
Member

Joined: Dec 2014
Posts: 206
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