End-to-end machine learning pipeline for forecasting stock prices and optimizing portfolio allocation using Prophet and Modern Portfolio Theory. Includes automated data ingestion, forecasting, ...
def create_sample_data(n_samples=500, n_stations=20, start_date='2024-01-01', end_date='2024-04-01'): 'station_id': [f'SZ{i:03d}' for i in range(1, n_stations+1 ...