Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    backtest_ml()

    Support
    3
    7
    545
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sun-73 last edited by

      Hi there,

      The new function backtest_ml() implemented in the example: "Machine Learning with a Voting Classifier" is a great way of getting a fast feedback from a given model.

      Is it possible to use it with multiple datasets (for example, using "futures" and "commodity" data, as done in the template: "Futures - IMF Commodity") ?

      Thank you!

      support 1 Reply Last reply Reply Quote 1
      • support
        support @Sun-73 last edited by

        @sun-73 thanks, sure, please let us a little bit of time to prepare an example with these specifications!

        S C 2 Replies Last reply Reply Quote 0
        • S
          Sun-73 @support last edited by

          @support Many thanks! An example would be very much appreciated!

          support 1 Reply Last reply Reply Quote 0
          • C
            cortezkwan @support last edited by

            @support Hi,
            I tried to replicate the "Machine Learning with a Voting Classifier" example on strategy notebook, but I got the error message: "AttributeError: module 'qnt.backtester' has no attribute 'backtest_ml'".

            1 Reply Last reply Reply Quote 0
            • support
              support last edited by

              @cortezkwan

              Just update the library, it will be enough.

              Conda:
              You can see the latest version of library here: https://anaconda.org/quantiacs-source/qnt/files
              This command will update the package in the current environment.

              conda install 'quantiacs-source::qnt>=0.0.255'
              

              Pip:
              If you use pip, just reinstall the package from github:

              pip install --force-reinstall git+git://github.com/quantiacs/toolbox.git
              
              1 Reply Last reply Reply Quote 0
              • support
                support @Sun-73 last edited by

                @sun-73 Hello, finally it is here:

                https://github.com/quantiacs/strategy-ml-predict-BTC-use-IMF/blob/master/strategy.ipynb

                Soon in the templates once we add some more text

                S 1 Reply Last reply Reply Quote 0
                • S
                  Sun-73 @support last edited by

                  @support Great! This route opens new possibilities in terms of model design. Thanks a lot!

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Powered by NodeBB | Contributors
                  • Documentation
                  • About
                  • Career
                  • My account
                  • Privacy policy
                  • Terms and Conditions
                  • Cookies policy
                  Home
                  Copyright © 2014 - 2021 Quantiacs LLC.
                  Powered by NodeBB | Contributors