MCPcopy
hub / github.com/hudson-and-thames/mlfinlab

github.com/hudson-and-thames/mlfinlab @main sqlite

repository ↗ · DeepWiki ↗
463 symbols 996 edges 95 files 454 documented · 98%
README

Welcome to Machine Learning Financial Laboratory!

This repo is public facing and exists for the sole purpose of providing users with an easy way to raise bugs, feature requests, and other issues.

What is MlFinLab?

MlFinlab python library is a perfect toolbox that every financial machine learning researcher needs.

It covers every step of the ML strategy creation, starting from data structures generation and finishing with backtest statistics. We pride ourselves in the robustness of our codebase - every line of code existing in the modules is extensively tested and documented.

Documentation, Example Notebooks and Lecture Videos

For every technique present in the library we not only provide extensive documentation, with both theoretical explanations and detailed descriptions of available functions, but also supplement the modules with ever-growing array of lecture videos and slides on the implemented methods.

We want you to be able to use the tools right away. To achieve that, every module comes with a number of example notebooks which include detailed examples of the usage of the algorithms. Our goal is to show you the whole pipeline, starting from importing the libraries and ending with strategy performance metrics so you can get the added value from the get-go.

Included modules:

  • Backtest Overfitting Tools
  • Data Structures
  • Labeling
  • Sampling
  • Feature Engineering
  • Models
  • Clustering
  • Cross-Validation
  • Hyper-Parameter Tuning
  • Feature Importance
  • Bet Sizing
  • Synthetic Data Generation
  • Networks
  • Measures of Codependence
  • Useful Financial Features

Licensing options

This project is licensed under an all rights reserved licence.

  • Business
  • Enterprise

Community

With the purchase of the library, our clients get access to the Hudson & Thames Slack community, where our engineers and other quants are always ready to answer your questions.

Alternatively, you can email us at: research@hudsonthames.org.

Who is Hudson & Thames?

Hudson and Thames Quantitative Research is a company with the goal of bridging the gap between the advanced research developed in quantitative finance and its practical application. We have created three premium python libraries so you can effortlessly access the latest techniques and focus on what matters most: creating your own winning strategy.

What was only possible with the help of huge R&D teams is now at your disposal, anywhere, anytime.

Core symbols most depended-on inside this repo

mean_decrease_impurity
called by 0
mlfinlab/feature_importance/importance.py
_mean_decrease_accuracy_round
called by 0
mlfinlab/feature_importance/importance.py
mean_decrease_accuracy
called by 0
mlfinlab/feature_importance/importance.py
single_feature_importance
called by 0
mlfinlab/feature_importance/importance.py
plot_feature_importance
called by 0
mlfinlab/feature_importance/importance.py
_stacked_mean_decrease_accuracy_round
called by 0
mlfinlab/feature_importance/importance.py
stacked_mean_decrease_accuracy
called by 0
mlfinlab/feature_importance/importance.py
fit
called by 0
mlfinlab/feature_importance/fingerpint.py

Shape

Function 237
Method 192
Class 34

Languages

Python100%

Modules by API surface

mlfinlab/data_structures/base_bars.py26 symbols
mlfinlab/networks/dash_graph.py22 symbols
mlfinlab/bet_sizing/ch10_snippets.py19 symbols
mlfinlab/feature_importance/fingerpint.py18 symbols
mlfinlab/ensemble/sb_bagging.py15 symbols
mlfinlab/multi_product/etf_trick.py14 symbols
mlfinlab/bet_sizing/ef3m.py13 symbols
mlfinlab/backtest_statistics/backtests.py13 symbols
mlfinlab/data_structures/run_data_structures.py12 symbols
mlfinlab/data_structures/imbalance_data_structures.py12 symbols
mlfinlab/cross_validation/cross_validation.py12 symbols
mlfinlab/networks/graph.py11 symbols

Dependencies from manifests, versioned

POT0.7.0 · 1×
analytics-python1.2.7 · 1×
bump2version1.0.1 · 1×
bumpversion0.6.0 · 1×
codecov2.1.11 · 1×
coverage5.4 · 1×
cython0.29 · 1×
dash1.0.0 · 1×
dash-bootstrap-components0.10.0 · 1×
dash-cytoscape0.1.0 · 1×
decorator4.0.0 · 1×
getmac0.8.0 · 1×

For agents

$ claude mcp add mlfinlab \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact