Giter Site home page Giter Site logo

Comments (3)

123mitnik avatar 123mitnik commented on June 3, 2024

I've found that I can resume the training with

launcher.export_checkpoint(os.path.expanduser('~/tmp/pre_trained_model/test_4_11'))

but still struggling training with additional features.

I've found this example inside the docs :

1. Four data streams added via Dataset.data_config,
   portfolio consists of four assets, added via strategy_params, cash is EUR:

    data_config = {
        'usd': {'filename': '.../DAT_ASCII_EURUSD_M1_2017.csv'},
        'gbp': {'filename': '.../DAT_ASCII_EURGBP_M1_2017.csv'},
        'jpy': {'filename': '.../DAT_ASCII_EURJPY_M1_2017.csv'},
        'chf': {'filename': '.../DAT_ASCII_EURCHF_M1_2017.csv'},
    }
    cash_name = 'eur'
    assets_names = ['usd', 'gbp', 'jpy', 'chf']

2. Three streams added, only two of them form portfolio; DXY stream is `decision-making` only:
    data_config = {
        'usd': {'filename': '.../DAT_ASCII_EURUSD_M1_2017.csv'},
        'gbp': {'filename': '.../DAT_ASCII_EURGBP_M1_2017.csv'},
        '​DXY': {'filename': '.../DAT_ASCII_DXY_M1_2017.csv'},
    }
    cash_name = 'eur'
    assets_names = ['usd', 'gbp']

where DXY stream is decision-making only - what is the DXY stream format. Can I load all me features data with the following ASCII format: timestamp, f1, f2 ..... fx. Or I should load every feature as a separate stream.

And after the model is trained how to create the predictions i.e. how to pass single observation and get the best prediction of what action I should take given my previously trained model (also I guess there is some exploration randomness for the gym //at least for the final training episode// which must be set to 0 in order to make sure that you get persistent results from the model)

Thank You !

from btgym.

Kismuz avatar Kismuz commented on June 3, 2024

@123mitnik , see #8, #32, #40 and
https://github.com/Kismuz/btgym/wiki/FRAMEWORK-DEVELOPMENT#data-input-pipe

from btgym.

Kismuz avatar Kismuz commented on June 3, 2024

Closed due to long inactivity period.

from btgym.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.