mlfinlab and portfoliolab
These two Python libraries are complementary, with MlFinLab providing advanced machine learning tools for financial applications, which can then be used in conjunction with PortfolioLab's algorithms for sophisticated portfolio optimization.
About mlfinlab
hudson-and-thames/mlfinlab
MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools.
Implements the complete ML pipeline for quantitative finance—from alternative data structures and labeling schemes through feature engineering, cross-validation, and bet sizing to backtest overfitting diagnostics. Built around financial-specific techniques like codependence measures, synthetic data generation, and clustering methods rather than generic ML frameworks. Includes modules for feature importance analysis, hyperparameter tuning, and network analysis tailored to portfolio construction and risk management workflows.
About portfoliolab
hudson-and-thames/portfoliolab
PortfolioLab is a python library that enables traders to take advantage of the latest portfolio optimisation algorithms used by professionals in the industry.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work