We are delighted to announce the launch of the long-anticipated MLFinlab v2.0.0! This new release brings a host of enhancements and fixes, all of which significantly improve the package’s functionality and usability.

A key feature of this release is that all examples have been thoroughly updated and modified across-the-board. This ensures that users can now run them “as-is”, providing an improved learning and on-boarding experience. We’ve spent a significant amount of time debugging and testing to make this possible. Additionally, we have started migrating our example code to doctest, which helps ensure that all of our examples execute correctly with every release.

Important note: With the release of MLFinlab 2.0.0, we have implemented a more streamlined import system. Now, instead of importing the complete top-level package, you can import only the modules and functions you need. This change significantly enhances import efficiency, reduces confusion, and lets you treat MLFinlab as a collection of composable components. All of our examples reflect the new import pattern. If you are updating existing scripts in-place to work with MLFInlab 2.0.0, you may need to update your imports.

In addition to this, we’ve incorporated a large list of bugfixes and some performance improvements. Note that we have updated some of our function names in the `util/generate_dataset` module to improve clarity.

This version of MLFinlab also comes with a large bump in dependencies across-the-board, which is a welcome addition to everyone working in more up-to-date Python environments.

In conclusion, MLFinlab v2.0.0 represents a significant step forward in our commitment to advancing machine learning in finance. We’re thrilled to offer you this new version, packed with updates and improvements, and we can’t wait to see what amazing things you’ll do with it.

How to upgrade

To upgrade to v2.0.0 of MLFinlab, please read the official documentation and follow our new installation instructions.

Coming soon: Dockerized MLFinlab

In the coming weeks, we’re aiming to bring MLFinlab to you in a dockerized form. This will allow you to perform strategy development, research, analysis, and more within an isolated environment across any platform without any of the struggle. To stay tuned for this announcement and release, please subscribe to our newsletter so that you can keep in touch.