Explore machine learning for market regime detection using Random Forest and market breadth indicators. Identify bull, bear and volatility regimes and adjust capital allocation with Python.