Skip to content

Enhanced Tesla (TSLA) Stock Price prediction using Facebook Prophet #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

FreeSpirit11
Copy link
Contributor

I have added a feature to evaluate the performance of the forecast using historical data. We can calculate metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE) to assess the accuracy of the forecast. Additionally, we can visualize the forecast along with the actual data to visually inspect how well the model predicts future prices.

I have added two functions:

evaluate_forecast(actual, forecast): This function calculates MAE, MSE, and RMSE between the actual and forecasted values.

plot_forecast_vs_actual(actual, forecast): This function visualizes the forecasted values alongside the actual values.

@FreeSpirit11
Copy link
Contributor Author

Resolves #299

Copy link
Owner

@Akshat111111 Akshat111111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it works

@Akshat111111 Akshat111111 merged commit 3bdb2c0 into Akshat111111:main Jun 6, 2024
1 check passed
Copy link

github-actions bot commented Jun 6, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your contribution to our project. Your efforts are greatly appreciated. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants