PS C:\Users\siddh> & C:/Users/siddh/AppData/Local/Programs/Python/Python311/python.exe c:/Users/swarn/python_codes/python_try/hugging/predictive_31.py
C:\Users\siddh\AppData\Local\Programs\Python\Python311\Lib\site-packages\yfinance\base.py:48: FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
_empty_series = pd.Series()
Program started...
Do you want to 'Train' the models or 'Use' existing models? Enter 'Train' or 'Use': USE
Enter the stock symbols separated by commas (e.g., AAPL, GOOGL, MSFT): NSE:HAL,NSE:MAZDOCK
Enter the prediction horizon in days (e.g., 5): 15
Enter the number of years of data to use for training (e.g., 5 or 10): 5
Training the Models on 402 stocks data
Estimated Time in minutes = 402
Time of start = 2024-09-22 08:00:34.430520
Loading saved models...
RandomForestRegressor model loaded from c:/users/swarn/python_codes/python_try/hugging/new_models/predictive_31_RandomForestRegressor_model.pkl
XGBoostRegressor model loaded from c:/users/swarn/python_codes/python_try/hugging/new_models/predictive_31_XGBoostRegressor_model.pkl
Scaler loaded from scaler.pkl
Label encoder loaded from label_encoder.pkl
Available models:
Random Forest Regressor - RMSE: 0.123551
XGBoost Regressor - RMSE: 0.144303
Enter the number corresponding to the model you want to use: 1
You have selected: Random Forest Regressor
Fetching stock data...
[*******************100%%] 1 of 1 completed | 0/402 [00:00<?, ?it/s]
[*******************100%%] 1 of 1 completed | 1/402 [00:01<09:02, 1.35s/it]
[*******************100%%] 1 of 1 completed | 2/402 [00:01<04:27, 1.50it/s]
[*******************100%%] 1 of 1 completed | 3/402 [00:01<02:48, 2.36it/s]
[*******************100%%] 1 of 1 completed | 4/402 [00:01<02:04, 3.20it/s]
[*******************] 1 of 1 completed | 5/402 [00:01<01:43, 3.83it/s]
[*******************] 1 of 1 completed | 7/402 [00:02<01:16, 5.18it/s]
[*******************] 1 of 1 completed | 9/402 [00:02<01:09, 5.65it/s]
[*******************] 1 of 1 completed | 11/402 [00:02<01:02, 6.25it/s]
[*******************] 1 of 1 completed | 13/402 [00:03<01:07, 5.75it/s]
[*******************] 1 of 1 completed | 15/402 [00:03<01:04, 6.01it/s]
[*******************] 1 of 1 completed | 17/402 [00:03<01:03, 6.09it/s]
[*******************] 1 of 1 completed | 19/402 [00:04<01:00, 6.34it/s]
[*******************] 1 of 1 completed | 21/402 [00:04<01:08, 5.55it/s]
[*******************] 1 of 1 completed | 23/402 [00:04<01:05, 5.82it/s]
[*******************] 1 of 1 completed | 25/402 [00:05<01:05, 5.79it/s]
[*******************] 1 of 1 completed | 27/402 [00:05<01:04, 5.78it/s]
[*******************] 1 of 1 completed | 29/402 [00:05<01:04, 5.82it/s]
[*******************] 1 of 1 completed | 31/402 [00:06<01:07, 5.46it/s]
[*******************] 1 of 1 completed | 33/402 [00:06<01:03, 5.79it/s]
[*******************] 1 of 1 completed | 35/402 [00:07<01:04, 5.72it/s]
[*******************] 1 of 1 completed | 37/402 [00:07<01:09, 5.29it/s]
[*******************] 1 of 1 completed | 39/402 [00:07<01:04, 5.60it/s]
[*******************] 1 of 1 completed | 41/402 [00:08<01:03, 5.70it/s]
[*******************] 1 of 1 completed | 43/402 [00:08<01:02, 5.79it/s]
[*******************] 1 of 1 completed | 45/402 [00:08<01:02, 5.73it/s]
[*******************] 1 of 1 completed | 47/402 [00:09<00:59, 5.97it/s]
[*******************] 1 of 1 completed | 49/402 [00:09<00:56, 6.19it/s]
[*******************] 1 of 1 completed | 51/402 [00:09<00:55, 6.30it/s]
[*******************] 1 of 1 completed | 53/402 [00:10<01:06, 5.27it/s]
[*******************] 1 of 1 completed | 55/402 [00:10<01:02, 5.55it/s]
[*******************] 1 of 1 completed | 57/402 [00:10<00:56, 6.08it/s]
[*******************] 1 of 1 completed | 59/402 [00:11<00:55, 6.16it/s]
[*******************] 1 of 1 completed | 61/402 [00:11<00:55, 6.18it/s]
[*******************] 1 of 1 completed | 63/402 [00:11<00:59, 5.70it/s]
[*******************] 1 of 1 completed | 65/402 [00:12<00:55, 6.06it/s]
[*******************] 1 of 1 completed | 67/402 [00:12<00:58, 5.77it/s]
[*******************] 1 of 1 completed | 69/402 [00:12<00:54, 6.16it/s]
[*******************] 1 of 1 completed | 71/402 [00:13<00:59, 5.57it/s]
[*******************] 1 of 1 completed | 73/402 [00:13<00:55, 5.91it/s]
[*******************] 1 of 1 completed | 75/402 [00:13<00:50, 6.49it/s]
[*******************] 1 of 1 completed | 77/402 [00:14<00:48, 6.76it/s]
[*******************] 1 of 1 completed | 79/402 [00:14<00:52, 6.11it/s]
[*******************] 1 of 1 completed | 81/402 [00:14<00:52, 6.13it/s]
[*******************] 1 of 1 completed | 83/402 [00:15<00:53, 5.99it/s]
[*******************] 1 of 1 completed | 85/402 [00:15<00:55, 5.76it/s]
[*******************] 1 of 1 completed | 87/402 [00:15<00:51, 6.17it/s]
[*******************] 1 of 1 completed | 89/402 [00:16<00:47, 6.62it/s]
[*******************] 1 of 1 completed | 91/402 [00:16<00:50, 6.12it/s]
[*******************] 1 of 1 completed | 93/402 [00:16<00:50, 6.13it/s]
[*******************] 1 of 1 completed | 95/402 [00:17<01:00, 5.04it/s]
[*******************] 1 of 1 completed | 97/402 [00:17<00:55, 5.53it/s]
[*******************] 1 of 1 completed | 99/402 [00:17<00:49, 6.15it/s]
[*******************] 1 of 1 completed | 101/402 [00:18<00:51, 5.89it/s]
[*******************] 1 of 1 completed | 103/402 [00:18<01:29, 3.33it/s]
[*******************] 1 of 1 completed | 105/402 [00:19<01:12, 4.11it/s]
[*******************] 1 of 1 completed | 107/402 [00:19<00:57, 5.09it/s]
[*******************] 1 of 1 completed | 109/402 [00:19<00:57, 5.12it/s]
[*******************] 1 of 1 completed | 111/402 [00:20<00:54, 5.31it/s]
[*******************] 1 of 1 completed | 113/402 [00:20<00:48, 5.90it/s]
[*******************] 1 of 1 completed | 115/402 [00:20<00:46, 6.13it/s]
[*******************] 1 of 1 completed | 117/402 [00:21<00:44, 6.48it/s]
[*******************] 1 of 1 completed | 119/402 [00:21<00:44, 6.39it/s]
[*******************] 1 of 1 completed | 121/402 [00:21<00:51, 5.46it/s]
[*******************] 1 of 1 completed | 123/402 [00:22<00:44, 6.26it/s]
[*******************] 1 of 1 completed | 125/402 [00:22<00:43, 6.36it/s]
[*******************] 1 of 1 completed | 127/402 [00:22<00:45, 6.05it/s]
[*******************] 1 of 1 completed | 129/402 [00:23<00:48, 5.65it/s]
[*******************] 1 of 1 completed | 131/402 [00:23<00:47, 5.75it/s]
[*******************] 1 of 1 completed | 133/402 [00:23<00:48, 5.54it/s]
[*******************] 1 of 1 completed | 135/402 [00:24<00:46, 5.77it/s]
[*******************] 1 of 1 completed | 137/402 [00:24<00:45, 5.87it/s]
[*******************] 1 of 1 completed | 139/402 [00:24<00:44, 5.90it/s]
[*******************] 1 of 1 completed | 141/402 [00:25<00:47, 5.52it/s]
[*******************] 1 of 1 completed | 143/402 [00:25<00:45, 5.67it/s]
[*******************] 1 of 1 completed | 145/402 [00:26<00:44, 5.79it/s]
[*******************] 1 of 1 completed | 147/402 [00:26<00:40, 6.32it/s]
[*******************] 1 of 1 completed | 149/402 [00:26<00:38, 6.55it/s]
[*******************] 1 of 1 completed | 151/402 [00:26<00:39, 6.38it/s]
[*******************] 1 of 1 completed | 153/402 [00:27<00:40, 6.10it/s]
[*******************] 1 of 1 completed | 155/402 [00:27<00:55, 4.42it/s]
[*******************] 1 of 1 completed | 157/402 [00:28<00:46, 5.32it/s]
[*******************] 1 of 1 completed | 159/402 [00:28<00:45, 5.32it/s]
[*******************] 1 of 1 completed | 161/402 [00:28<00:41, 5.75it/s]
[*******************] 1 of 1 completed | 163/402 [00:29<00:40, 5.87it/s]
[*******************] 1 of 1 completed | 165/402 [00:29<00:41, 5.77it/s]
[*******************] 1 of 1 completed | 167/402 [00:29<00:38, 6.09it/s]
[*******************] 1 of 1 completed | 169/402 [00:30<00:36, 6.34it/s]
[*******************] 1 of 1 completed | 171/402 [00:30<00:35, 6.45it/s]
[*******************] 1 of 1 completed▋ | 173/402 [00:30<00:35, 6.47it/s]
[*******************] 1 of 1 completed█▍ | 175/402 [00:31<00:36, 6.27it/s]
[*******************] 1 of 1 completed██▏ | 177/402 [00:31<00:39, 5.76it/s]
[*******************] 1 of 1 completed██▉ | 179/402 [00:31<00:39, 5.71it/s]
[*******************] 1 of 1 completed███▋ | 181/402 [00:32<00:38, 5.70it/s]
[*******************] 1 of 1 completed████▎ | 183/402 [00:32<00:35, 6.09it/s]
[*******************] 1 of 1 completed█████ | 185/402 [00:32<00:32, 6.58it/s]
[*******************] 1 of 1 completed█████▊ | 187/402 [00:33<00:32, 6.55it/s]
[*******************] 1 of 1 completed██████▌ | 189/402 [00:33<00:31, 6.76it/s]
[*******************] 1 of 1 completed███████▎ | 191/402 [00:33<00:28, 7.28it/s]
[*******************] 1 of 1 completed████████ | 193/402 [00:33<00:30, 6.93it/s]
[*******************] 1 of 1 completed████████▊ | 195/402 [00:34<00:32, 6.46it/s]
[*******************] 1 of 1 completed█████████▌ | 197/402 [00:34<00:30, 6.79it/s]
[*******************] 1 of 1 completed██████████▎ | 199/402 [00:34<00:29, 6.82it/s]
[*******************] 1 of 1 completed███████████ | 201/402 [00:35<00:30, 6.66it/s]
[*******************] 1 of 1 completed███████████▋ | 203/402 [00:35<00:29, 6.72it/s]
[*******************] 1 of 1 completed████████████▍ | 205/402 [00:35<00:28, 7.03it/s]
[*******************] 1 of 1 completed█████████████▏ | 207/402 [00:36<00:28, 6.82it/s]
[*******************] 1 of 1 completed█████████████▉ | 209/402 [00:36<00:28, 6.75it/s]
[*******************] 1 of 1 completed██████████████▋ | 211/402 [00:36<00:29, 6.43it/s]
[*******************] 1 of 1 completed███████████████▍ | 213/402 [00:36<00:27, 6.86it/s]
[*******************] 1 of 1 completed████████████████▏ | 215/402 [00:37<00:27, 6.76it/s]
[*******************] 1 of 1 completed████████████████▉ | 217/402 [00:37<00:26, 6.85it/s]
[*******************] 1 of 1 completed█████████████████▋ | 219/402 [00:37<00:27, 6.67it/s]
[*******************] 1 of 1 completed██████████████████▎ | 221/402 [00:38<00:29, 6.20it/s]
[*******************] 1 of 1 completed███████████████████ | 223/402 [00:38<00:31, 5.68it/s]
[*******************] 1 of 1 completed███████████████████▊ | 225/402 [00:38<00:28, 6.11it/s]
[*******************] 1 of 1 completed████████████████████▌ | 227/402 [00:39<00:25, 6.74it/s]
[*******************] 1 of 1 completed█████████████████████▎ | 229/402 [00:39<00:25, 6.71it/s]
[*******************] 1 of 1 completed██████████████████████ | 231/402 [00:39<00:26, 6.52it/s]
[*******************] 1 of 1 completed██████████████████████▊ | 233/402 [00:40<00:28, 5.93it/s]
[*******************] 1 of 1 completed███████████████████████▌ | 235/402 [00:40<00:28, 5.86it/s]
[*******************] 1 of 1 completed████████████████████████▎ | 237/402 [00:40<00:28, 5.88it/s]
[*******************] 1 of 1 completed████████████████████████▉ | 239/402 [00:41<00:28, 5.77it/s]
[*******************] 1 of 1 completed█████████████████████████▋ | 241/402 [00:41<00:27, 5.89it/s]
[*******************] 1 of 1 completed██████████████████████████▍ | 243/402 [00:41<00:24, 6.37it/s]
[*******************] 1 of 1 completed███████████████████████████▏ | 245/402 [00:42<00:24, 6.38it/s]
[*******************] 1 of 1 completed███████████████████████████▉ | 247/402 [00:42<00:24, 6.45it/s]
[*******************] 1 of 1 completed████████████████████████████▋ | 249/402 [00:42<00:30, 5.07it/s]
[*******************] 1 of 1 completed█████████████████████████████▍ | 251/402 [00:43<00:25, 5.87it/s]
[*******************] 1 of 1 completed██████████████████████████████▏ | 253/402 [00:43<00:23, 6.29it/s]
[*******************] 1 of 1 completed██████████████████████████████▉ | 255/402 [00:44<00:32, 4.55it/s]
[*******************] 1 of 1 completed███████████████████████████████▌ | 257/402 [00:44<00:25, 5.59it/s]
[*******************] 1 of 1 completed████████████████████████████████▎ | 259/402 [00:44<00:23, 6.14it/s]
[*******************] 1 of 1 completed█████████████████████████████████ | 261/402 [00:45<00:25, 5.43it/s]
[*******************] 1 of 1 completed█████████████████████████████████▊ | 263/402 [00:45<00:22, 6.08it/s]
[*******************] 1 of 1 completed██████████████████████████████████▌ | 265/402 [00:45<00:21, 6.38it/s]
[*******************] 1 of 1 completed███████████████████████████████████▎ | 267/402 [00:45<00:20, 6.64it/s]
[*******************] 1 of 1 completed████████████████████████████████████ | 269/402 [00:46<00:23, 5.64it/s]
[*******************] 1 of 1 completed████████████████████████████████████▊ | 271/402 [00:46<00:20, 6.36it/s]
[*******************] 1 of 1 completed█████████████████████████████████████▌ | 273/402 [00:46<00:20, 6.37it/s]
[*******************] 1 of 1 completed██████████████████████████████████████▏ | 275/402 [00:47<00:19, 6.54it/s]
[*******************] 1 of 1 completed██████████████████████████████████████▉ | 277/402 [00:47<00:19, 6.40it/s]
[*******************] 1 of 1 completed███████████████████████████████████████▋ | 279/402 [00:47<00:18, 6.70it/s]
[*******************] 1 of 1 completed████████████████████████████████████████▍ | 281/402 [00:47<00:13, 8.66it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████▏ | 283/402 [00:48<00:19, 6.18it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████▉ | 285/402 [00:48<00:17, 6.55it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████▋ | 287/402 [00:48<00:16, 6.80it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████▍ | 289/402 [00:49<00:16, 6.73it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████▏ | 291/402 [00:49<00:16, 6.62it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████▊ | 293/402 [00:49<00:15, 6.92it/s]
[*******************] 1 of 1 completed
[*******************] 1 of 1 completed██████████████████████████████████████████████▎ | 297/402 [00:50<00:13, 8.07it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████ | 299/402 [00:50<00:10, 9.41it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████▊ | 301/402 [00:50<00:12, 8.07it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████▌ | 303/402 [00:51<00:12, 7.90it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████▎ | 305/402 [00:51<00:13, 7.11it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████ | 307/402 [00:51<00:13, 7.12it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████▊ | 309/402 [00:51<00:13, 6.93it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████▍ | 311/402 [00:52<00:14, 6.34it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████▏ | 313/402 [00:52<00:12, 7.12it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████▉ | 315/402 [00:52<00:11, 7.56it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████▋ | 317/402 [00:53<00:11, 7.12it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████▍ | 319/402 [00:53<00:13, 6.21it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████▏ | 321/402 [00:53<00:12, 6.26it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████▉ | 323/402 [00:54<00:12, 6.29it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████▋ | 325/402 [00:54<00:11, 6.47it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████▍ | 327/402 [00:54<00:11, 6.58it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████ | 329/402 [00:54<00:11, 6.14it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████▊ | 331/402 [00:55<00:10, 6.55it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████▌ | 333/402 [00:55<00:10, 6.53it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████▎ | 335/402 [00:55<00:12, 5.34it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████ | 337/402 [00:56<00:11, 5.59it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████▊ | 339/402 [00:56<00:10, 6.22it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████▌ | 341/402 [00:56<00:08, 6.99it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████▎ | 343/402 [00:57<00:08, 6.74it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████ | 345/402 [00:57<00:08, 6.57it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████▊ | 347/402 [00:57<00:08, 6.44it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████████▍ | 349/402 [00:58<00:08, 5.94it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████████▏ | 351/402 [00:58<00:11, 4.45it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████████▉ | 353/402 [00:59<00:09, 5.38it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████▋ | 355/402 [00:59<00:08, 5.31it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████▍ | 357/402 [00:59<00:08, 5.56it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████████████▏ | 359/402 [01:00<00:07, 6.08it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████████████▉ | 361/402 [01:00<00:06, 5.90it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████████████▋ | 363/402 [01:00<00:05, 6.51it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████████▍ | 365/402 [01:01<00:06, 5.67it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████████ | 367/402 [01:01<00:06, 5.77it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████████▊ | 369/402 [01:01<00:05, 6.25it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████████████████▌ | 371/402 [01:02<00:04, 6.57it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████████████████▎ | 373/402 [01:02<00:04, 6.09it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████████████ | 375/402 [01:02<00:04, 5.58it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████████████▊ | 377/402 [01:03<00:04, 5.20it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████████████▌ | 379/402 [01:03<00:03, 6.07it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████████████████████▎ | 381/402 [01:03<00:03, 5.75it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████████████████████ | 383/402 [01:04<00:03, 5.92it/s]
[*******************] 1 of 1 completed
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████████████████▍ | 387/402 [01:04<00:01, 7.63it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████████████████▏ | 389/402 [01:04<00:01, 7.48it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████████████████▉ | 391/402 [01:05<00:01, 6.91it/s]
[*******************] 1 of 1 completed█████████████████████████████████████████████████████████████████████████████████▋ | 393/402 [01:05<00:01, 6.36it/s]
[*******************] 1 of 1 completed██████████████████████████████████████████████████████████████████████████████████▍ | 395/402 [01:05<00:01, 6.43it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████████████████████▏ | 397/402 [01:06<00:00, 6.94it/s]
[*******************] 1 of 1 completed███████████████████████████████████████████████████████████████████████████████████▉ | 399/402 [01:06<00:00, 4.14it/s]
[*******************] 1 of 1 completed████████████████████████████████████████████████████████████████████████████████████▋| 401/402 [01:07<00:00, 4.93it/s]
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 402/402 [01:07<00:00, 5.97it/s]
Calculating technical indicators on recent data...
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 392/392 [00:02<00:00, 168.11it/s]
Assistant
100%%
100%%
] 1 of 1 completed | 6/402 [00:02<01:26, 4.58it/s]
[*******************100%%
100%%
] 1 of 1 completed | 8/402 [00:02<01:10, 5.60it/s]
[*******************100%%
100%%
] 1 of 1 completed | 10/402 [00:02<01:04, 6.04it/s]
[*******************100%%
100%%
] 1 of 1 completed | 12/402 [00:03<01:03, 6.18it/s]
[*******************100%%
100%%
] 1 of 1 completed | 14/402 [00:03<01:06, 5.87it/s]
[*******************100%%
100%%
] 1 of 1 completed | 16/402 [00:03<01:03, 6.08it/s]
[*******************100%%
100%%
] 1 of 1 completed | 18/402 [00:04<01:02, 6.19it/s]
[*******************100%%
100%%
] 1 of 1 completed | 20/402 [00:04<01:13, 5.22it/s]
[*******************100%%
100%%
] 1 of 1 completed | 22/402 [00:04<01:05, 5.82it/s]
[*******************100%%
100%%
] 1 of 1 completed | 24/402 [00:05<01:03, 5.92it/s]
[*******************100%%
100%%
] 1 of 1 completed | 26/402 [00:05<01:06, 5.65it/s]
[*******************100%%
100%%
] 1 of 1 completed | 28/402 [00:05<01:04, 5.81it/s]
[*******************100%%
100%%
] 1 of 1 completed | 30/402 [00:06<01:12, 5.12it/s]
[*******************100%%
100%%
] 1 of 1 completed | 32/402 [00:06<01:04, 5.75it/s]
[*******************100%%
100%%
] 1 of 1 completed | 34/402 [00:06<01:02, 5.91it/s]
[*******************100%%
100%%
] 1 of 1 completed | 36/402 [00:07<01:03, 5.78it/s]
[*******************100%%
100%%
] 1 of 1 completed | 38/402 [00:07<01:06, 5.45it/s]
[*******************100%%
100%%
] 1 of 1 completed | 40/402 [00:07<01:04, 5.64it/s]
[*******************100%%
100%%
] 1 of 1 completed | 42/402 [00:08<01:02, 5.79it/s]
[*******************100%%
100%%
] 1 of 1 completed | 44/402 [00:08<01:03, 5.60it/s]
[*******************100%%
100%%
] 1 of 1 completed | 46/402 [00:08<01:00, 5.92it/s]
[*******************100%%
100%%
] 1 of 1 completed | 48/402 [00:09<00:55, 6.33it/s]
[*******************100%%
100%%
] 1 of 1 completed | 50/402 [00:09<00:55, 6.29it/s]
[*******************100%%
100%%
] 1 of 1 completed | 52/402 [00:09<00:53, 6.59it/s]
[*******************100%%
100%%
] 1 of 1 completed | 54/402 [00:10<01:02, 5.60it/s]
[*******************100%%
100%%
] 1 of 1 completed | 56/402 [00:10<00:58, 5.89it/s]
[*******************100%%
100%%
] 1 of 1 completed | 58/402 [00:10<00:54, 6.26it/s]
[*******************100%%
100%%
] 1 of 1 completed | 60/402 [00:11<00:55, 6.16it/s]
[*******************100%%
100%%
] 1 of 1 completed | 62/402 [00:11<00:54, 6.23it/s]
[*******************100%%
100%%
] 1 of 1 completed | 64/402 [00:11<00:57, 5.85it/s]
[*******************100%%
100%%
] 1 of 1 completed | 66/402 [00:12<00:58, 5.70it/s]
[*******************100%%
100%%
] 1 of 1 completed | 68/402 [00:12<00:55, 6.01it/s]
[*******************100%%
100%%
] 1 of 1 completed | 70/402 [00:12<00:57, 5.81it/s]
[*******************100%%
100%%
] 1 of 1 completed | 72/402 [00:13<00:56, 5.81it/s]
[*******************100%%
100%%
] 1 of 1 completed | 74/402 [00:13<00:54, 6.01it/s]
[*******************100%%
100%%
] 1 of 1 completed | 76/402 [00:13<00:51, 6.38it/s]
[*******************100%%
100%%
] 1 of 1 completed | 78/402 [00:14<00:50, 6.39it/s]
[*******************100%%
100%%
] 1 of 1 completed | 80/402 [00:14<00:52, 6.15it/s]
[*******************100%%
100%%
] 1 of 1 completed | 82/402 [00:14<00:54, 5.91it/s]
[*******************100%%
100%%
] 1 of 1 completed | 84/402 [00:15<00:52, 6.10it/s]
[*******************100%%
100%%
] 1 of 1 completed | 86/402 [00:15<00:52, 6.05it/s]
[*******************100%%
100%%
] 1 of 1 completed | 88/402 [00:15<00:50, 6.27it/s]
[*******************100%%
100%%
] 1 of 1 completed | 90/402 [00:16<00:47, 6.52it/s]
[*******************100%%
100%%
] 1 of 1 completed | 92/402 [00:16<00:52, 5.93it/s]
[*******************100%%
100%%
] 1 of 1 completed | 94/402 [00:16<00:48, 6.38it/s]
[*******************100%%
100%%
] 1 of 1 completed | 96/402 [00:17<00:58, 5.25it/s]
[*******************100%%
100%%
] 1 of 1 completed | 98/402 [00:17<00:50, 6.01it/s]
[*******************100%%
100%%
] 1 of 1 completed | 100/402 [00:17<00:52, 5.76it/s]
[*******************100%%
100%%
] 1 of 1 completed | 102/402 [00:18<00:55, 5.45it/s]
[*******************100%%
100%%
] 1 of 1 completed | 104/402 [00:19<01:18, 3.82it/s]
[*******************100%%
100%%
] 1 of 1 completed | 106/402 [00:19<01:02, 4.71it/s]
[*******************100%%
100%%
] 1 of 1 completed | 108/402 [00:19<00:55, 5.31it/s]
[*******************100%%
100%%
] 1 of 1 completed | 110/402 [00:20<00:56, 5.20it/s]
[*******************100%%
100%%
] 1 of 1 completed | 112/402 [00:20<00:54, 5.36it/s]
[*******************100%%
100%%
] 1 of 1 completed | 114/402 [00:20<00:46, 6.14it/s]
[*******************100%%
100%%
] 1 of 1 completed | 116/402 [00:21<00:45, 6.22it/s]
[*******************100%%
100%%
] 1 of 1 completed | 118/402 [00:21<00:44, 6.35it/s]
[*******************100%%
100%%
] 1 of 1 completed | 120/402 [00:21<00:41, 6.73it/s]
[*******************100%%
100%%
] 1 of 1 completed | 122/402 [00:22<00:46, 5.99it/s]
[*******************100%%
100%%
] 1 of 1 completed | 124/402 [00:22<00:43, 6.41it/s]
[*******************100%%
100%%
] 1 of 1 completed | 126/402 [00:22<00:43, 6.37it/s]
[*******************100%%
100%%
] 1 of 1 completed | 128/402 [00:23<00:46, 5.95it/s]
[*******************100%%
100%%
] 1 of 1 completed | 130/402 [00:23<00:48, 5.58it/s]
[*******************100%%
100%%
] 1 of 1 completed | 132/402 [00:23<00:49, 5.42it/s]
[*******************100%%
100%%
] 1 of 1 completed | 134/402 [00:24<00:47, 5.65it/s]
[*******************100%%
100%%
] 1 of 1 completed | 136/402 [00:24<00:45, 5.84it/s]
[*******************100%%
100%%
] 1 of 1 completed | 138/402 [00:24<00:44, 5.98it/s]
[*******************100%%
100%%
] 1 of 1 completed | 140/402 [00:25<00:44, 5.93it/s]
[*******************100%%
100%%
] 1 of 1 completed | 142/402 [00:25<00:46, 5.58it/s]
[*******************100%%
100%%
] 1 of 1 completed | 144/402 [00:25<00:43, 5.99it/s]
[*******************100%%
100%%
] 1 of 1 completed | 146/402 [00:26<00:40, 6.27it/s]
[*******************100%%
100%%
] 1 of 1 completed | 148/402 [00:26<00:38, 6.68it/s]
[*******************100%%
100%%
] 1 of 1 completed | 150/402 [00:26<00:39, 6.40it/s]
[*******************100%%
100%%
] 1 of 1 completed | 152/402 [00:27<00:38, 6.41it/s]
[*******************100%%
100%%
] 1 of 1 completed | 154/402 [00:27<01:05, 3.77it/s]
[*******************100%%
100%%
] 1 of 1 completed | 156/402 [00:28<00:49, 4.99it/s]
[*******************100%%
100%%
] 1 of 1 completed | 158/402 [00:28<00:43, 5.62it/s]
[*******************100%%
100%%
] 1 of 1 completed | 160/402 [00:28<00:43, 5.55it/s]
[*******************100%%
100%%
] 1 of 1 completed | 162/402 [00:29<00:40, 5.99it/s]
[*******************100%%
100%%
] 1 of 1 completed | 164/402 [00:29<00:40, 5.82it/s]
[*******************100%%
100%%
] 1 of 1 completed | 166/402 [00:29<00:39, 5.98it/s]
[*******************100%%
100%%
] 1 of 1 completed | 168/402 [00:30<00:37, 6.26it/s]
[*******************100%%
100%%
] 1 of 1 completed | 170/402 [00:30<00:36, 6.38it/s]
[*******************100%%
100%%
] 1 of 1 completed▎ | 172/402 [00:30<00:35, 6.43it/s]
[*******************100%%
100%%
] 1 of 1 completed█ | 174/402 [00:30<00:35, 6.46it/s]
[*******************100%%
100%%
] 1 of 1 completed█▊ | 176/402 [00:31<00:35, 6.31it/s]
[*******************100%%
100%%
] 1 of 1 completed██▌ | 178/402 [00:31<00:39, 5.61it/s]
[*******************100%%
100%%
] 1 of 1 completed███▎ | 180/402 [00:32<00:38, 5.77it/s]
[*******************100%%
100%%
] 1 of 1 completed████ | 182/402 [00:32<00:37, 5.88it/s]
[*******************100%%
100%%
] 1 of 1 completed████▋ | 184/402 [00:32<00:35, 6.20it/s]
[*******************100%%
100%%
] 1 of 1 completed█████▍ | 186/402 [00:32<00:34, 6.35it/s]
[*******************100%%
100%%
] 1 of 1 completed██████▏ | 188/402 [00:33<00:31, 6.86it/s]
[*******************100%%
100%%
] 1 of 1 completed██████▉ | 190/402 [00:33<00:30, 7.02it/s]
[*******************100%%
100%%
] 1 of 1 completed███████▋ | 192/402 [00:33<00:30, 6.89it/s]
[*******************100%%
100%%
] 1 of 1 completed████████▍ | 194/402 [00:34<00:31, 6.54it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████▏ | 196/402 [00:34<00:30, 6.68it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████▉ | 198/402 [00:34<00:28, 7.07it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████▋ | 200/402 [00:34<00:28, 7.06it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████▎ | 202/402 [00:35<00:29, 6.89it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████ | 204/402 [00:35<00:28, 6.90it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████▊ | 206/402 [00:35<00:28, 6.86it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████▌ | 208/402 [00:36<00:28, 6.78it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████▎ | 210/402 [00:36<00:29, 6.43it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████ | 212/402 [00:36<00:28, 6.72it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████▊ | 214/402 [00:37<00:26, 6.97it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████▌ | 216/402 [00:37<00:28, 6.49it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████▎ | 218/402 [00:37<00:26, 6.88it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████▉ | 220/402 [00:37<00:28, 6.41it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████▋ | 222/402 [00:38<00:30, 5.95it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████▍ | 224/402 [00:38<00:29, 6.05it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████▏ | 226/402 [00:38<00:26, 6.60it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████▉ | 228/402 [00:39<00:26, 6.59it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████▋ | 230/402 [00:39<00:27, 6.34it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████▍ | 232/402 [00:39<00:25, 6.56it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████▏ | 234/402 [00:40<00:29, 5.74it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████▉ | 236/402 [00:40<00:28, 5.91it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████▌ | 238/402 [00:40<00:27, 6.04it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████▎ | 240/402 [00:41<00:28, 5.61it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████ | 242/402 [00:41<00:25, 6.19it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████▊ | 244/402 [00:41<00:25, 6.14it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████▌ | 246/402 [00:42<00:25, 6.05it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████▎ | 248/402 [00:42<00:33, 4.62it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████ | 250/402 [00:43<00:28, 5.38it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████▊ | 252/402 [00:43<00:24, 6.17it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████▌ | 254/402 [00:43<00:38, 3.88it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████▏ | 256/402 [00:44<00:27, 5.26it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████▉ | 258/402 [00:44<00:24, 5.93it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████▋ | 260/402 [00:44<00:25, 5.57it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████▍ | 262/402 [00:45<00:23, 6.00it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████▏ | 264/402 [00:45<00:22, 6.24it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████▉ | 266/402 [00:45<00:21, 6.45it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████▋ | 268/402 [00:46<00:19, 7.01it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████▍ | 270/402 [00:46<00:21, 6.01it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████▏ | 272/402 [00:46<00:19, 6.54it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████▉ | 274/402 [00:47<00:19, 6.46it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████▌ | 276/402 [00:47<00:19, 6.45it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████▎ | 278/402 [00:47<00:18, 6.64it/s]
[*******************100%%
100%%
] 1 of 1 completed
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████▊ | 282/402 [00:48<00:14, 8.51it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████▌ | 284/402 [00:48<00:18, 6.27it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████▎ | 286/402 [00:48<00:17, 6.60it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████ | 288/402 [00:49<00:17, 6.59it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████▊ | 290/402 [00:49<00:16, 6.87it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████▌ | 292/402 [00:49<00:16, 6.69it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████▏ | 294/402 [00:50<00:16, 6.74it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████▉ | 296/402 [00:50<00:12, 8.63it/s]
[*******************100%%
100%%
] 1 of 1 completed
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████▍ | 300/402 [00:50<00:11, 8.76it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████▏ | 302/402 [00:50<00:12, 8.01it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████▉ | 304/402 [00:51<00:12, 7.77it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████▋ | 306/402 [00:51<00:13, 7.12it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████▍ | 308/402 [00:51<00:13, 7.09it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████▏ | 310/402 [00:52<00:13, 6.68it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████▊ | 312/402 [00:52<00:13, 6.78it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████▌ | 314/402 [00:52<00:11, 7.40it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████▎ | 316/402 [00:52<00:11, 7.23it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████ | 318/402 [00:53<00:12, 6.93it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████▊ | 320/402 [00:53<00:13, 6.31it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████▌ | 322/402 [00:53<00:12, 6.22it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████▎ | 324/402 [00:54<00:12, 6.35it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████ | 326/402 [00:54<00:11, 6.38it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████▊ | 328/402 [00:54<00:10, 6.78it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████▍ | 330/402 [00:55<00:11, 6.40it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████▏ | 332/402 [00:55<00:10, 6.87it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████▉ | 334/402 [00:55<00:11, 5.91it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████▋ | 336/402 [00:56<00:13, 4.99it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████▍ | 338/402 [00:56<00:10, 5.84it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████▏ | 340/402 [00:56<00:09, 6.69it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████▉ | 342/402 [00:57<00:08, 6.76it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████▋ | 344/402 [00:57<00:08, 6.86it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████▍ | 346/402 [00:57<00:08, 6.38it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████ | 348/402 [00:57<00:08, 6.20it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████▊ | 350/402 [00:58<00:13, 3.91it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████████▌ | 352/402 [00:58<00:10, 4.89it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████▎ | 354/402 [00:59<00:09, 5.06it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████ | 356/402 [00:59<00:08, 5.60it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████▊ | 358/402 [00:59<00:07, 6.01it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████████▌ | 360/402 [01:00<00:06, 6.19it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████████████▎ | 362/402 [01:00<00:06, 6.15it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████████ | 364/402 [01:00<00:05, 6.81it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████████▋ | 366/402 [01:01<00:06, 5.76it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████████▍ | 368/402 [01:01<00:05, 5.82it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████████████▏ | 370/402 [01:01<00:04, 6.55it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████████████▉ | 372/402 [01:02<00:04, 6.09it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████████████████▋ | 374/402 [01:02<00:05, 5.57it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████████████▍ | 376/402 [01:02<00:04, 5.85it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████████████▏ | 378/402 [01:03<00:04, 5.62it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████████████▉ | 380/402 [01:03<00:03, 6.15it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████████████████▋ | 382/402 [01:03<00:03, 5.91it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████████████████████▎ | 384/402 [01:04<00:02, 6.33it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████████████████ | 386/402 [01:04<00:01, 8.36it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████████████████▊ | 388/402 [01:04<00:01, 7.50it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████████████████▌ | 390/402 [01:05<00:01, 7.38it/s]
[*******************100%%
100%%
] 1 of 1 completed█████████████████████████████████████████████████████████████████████████████████▎ | 392/402 [01:05<00:01, 6.77it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████████████████████████ | 394/402 [01:05<00:01, 6.41it/s]
[*******************100%%
100%%
] 1 of 1 completed██████████████████████████████████████████████████████████████████████████████████▊ | 396/402 [01:05<00:00, 6.55it/s]
[*******************100%%
100%%
] 1 of 1 completed███████████████████████████████████████████████████████████████████████████████████▌ | 398/402 [01:06<00:00, 6.91it/s]
[*******************100%%
100%%
] 1 of 1 completed████████████████████████████████████████████████████████████████████████████████████▎| 400/402 [01:06<00:00, 4.58it/s]
[*******************100%%
Predicted returns for the next 15 days for your queried symbols (sorted by predicted return):
Symbol Date Close Predicted_Return_Percentage Predicted_Future_Price Predicted_Profit
7683 MAZDOCK.NS 2024-09-20 4374.10 4.10 4553.43 179.33
3023 HAL.NS 2024-09-20 4333.35 3.69 4493.31 159.96
Current Date = 2024-09-22
Predictions saved to c:/users/swarn/python_codes/python_try/hugging/predictions\Predictions_2024-09-22.csv
Program execution completed.
Guidance on model training:
Training with more stocks generally improves model generalization but increases training time.
Using data from longer periods (e.g., 10 years) can capture more market cycles but may include outdated patterns.
Balance between the number of stocks, data period, and computational resources for optimal performance.
PS C:\Users\siddh>
It looks like you ran a Python script named predictive_31.py to predict the future returns of specific stocks using a machine learning model. Here's a summary and interpretation of the output you've provided:
Summary of the Process:
Model Selection:
You chose to use existing models rather than train new ones.
The models loaded are:
Random Forest Regressor (RMSE: 0.123551)
XGBoost Regressor (RMSE: 0.144303)
You selected the Random Forest Regressor model for prediction.
User Inputs:
Stock Symbols:NSE:HAL, NSE:MAZDOCK
Prediction Horizon:15 days
Training Data Period: Last 5 years
Data Processing:
The script fetched data for 402 stocks to use in the prediction.
Technical indicators were calculated on the recent data to enrich the dataset.
Predictions:
The model predicted the returns for the next 15 days for the queried stocks.
The predictions are:
Symbol
Date
Close
Predicted Return (%)
Predicted Future Price
Predicted Profit
MAZDOCK.NS
2024-09-20
4374.10
4.10
4553.43
179.33
HAL.NS
2024-09-20
4333.35
3.69
4493.31
159.96
Current Date: 2024-09-22
Output:
The predictions were saved to a CSV file at c:/users/swarn/python_codes/python_try/hugging/predictions\Predictions_2024-09-22.csv.
Guidance Provided:
Training with more stocks improves generalization but increases training time.
Using longer historical data can capture more market cycles but may include outdated patterns.
Balancing factors like the number of stocks, data period, and computational resources is crucial for optimal performance.
Interpretation of the Results:
Predicted Returns:
MAZDOCK.NS is predicted to increase by 4.10%, potentially reaching a price of ₹4553.43 per share after 15 days.
HAL.NS is predicted to increase by 3.69%, potentially reaching a price of ₹4493.31 per share after 15 days.
Predicted Profit:
Investing in MAZDOCK.NS could yield a profit of ₹179.33 per share.
Investing in HAL.NS could yield a profit of ₹159.96 per share.
These predictions are based on the chosen model and the data provided and should be used as one of several factors in making investment decisions.
Considerations:
Date Discrepancy: The current date in the output is 2024-09-22, which is beyond the present date (as of my knowledge cutoff in September 2021). Ensure that your system clock and data timestamps are correct to avoid any inconsistencies in the predictions.
Model Performance:
The Root Mean Square Error (RMSE) for the Random Forest Regressor is 0.123551, indicating the average difference between the predicted and actual values. A lower RMSE suggests better model performance.
Data Quality:
The accuracy of predictions heavily depends on the quality and relevance of the training data.
Including a diverse set of stocks for training can improve the model's ability to generalize.
Recommendations:
Validate Dates and Data:
Verify the correctness of the dates used in your dataset to ensure the predictions are based on accurate timelines.
Model Evaluation:
Consider cross-validating your model to assess its robustness.
Experiment with different models or parameters to potentially improve accuracy.
Exercise Caution:
Stock market predictions are inherently uncertain.
Use predictions in conjunction with other analyses and market insights.
Stay Updated:
Ensure that your data sources are reliable and up-to-date.
Regularly update your models with the latest data to maintain prediction relevance.
Further Assistance:
If you have specific questions or need guidance on any of the following, feel free to ask:
Improving Model Accuracy: Techniques for enhancing model performance.
Interpreting Technical Indicators: Understanding how different indicators influence predictions.
Expanding the Model: Adding more features or adjusting parameters for better results.
Troubleshooting Errors: Assistance with any errors or issues encountered during execution.