Data Science, Machine Learning, Artificial Intelligence, Technology, Fintech.
Plotting the actual data plt.figure(figsize=(10,6)) plt.plot(data.index[-60:], data['Close'][-60:], linestyle='-', marker='o', color='blue', label='Actual Data') # Plotting the predicted data plt.plot(prediction_dates, predicted_prices, linestyle='-', marker='o', color='red', label='Predicted