Skip to content
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

The Effect of Economic News on Gold Prices Analysis #637

Closed
wants to merge 9 commits into from
Closed

The Effect of Economic News on Gold Prices Analysis #637

wants to merge 9 commits into from

Conversation

fspzar123
Copy link
Contributor

Pull Request for ML-Crate 💡

Issue Title: The Effect of Economic News on Gold Prices Analysis

  • Info about the related issue (Aim of the project): This project aims to analyze the gold prices based on the news articles in the dataset.
  • Name: Filbert Shawn
  • Email ID for further communication: fspzar123@gmail.com
  • GitHub ID: fspzar123
  • Idenitfy yourself: Student/Open-Source Contributor

Closes: #507

Describe the add-ons or changes you've made 📃

  • Imported essential libraries for data manipulation and machine learning.
  • Conducted Exploratory Data Analysis (EDA) to comprehend the dataset.
  • Visualized data to extract meaningful patterns and insights.
  • Setup a function to assign Sentiment to an Event
  • Assessed feature correlations to understand interdependencies.
  • Converted categorical features into numerical formats via feature mapping.
  • Split the dataset into training and testing sets and applied scaling techniques.
  • Implemented and trained four machine learning models: Random Forest, SVM, Logistic Regression, and Gradient Booster.
  • Evaluated the models using classification reports and compared their accuracies to determine the best-performing model.

Type of change ☑️

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to work as expected)

How Has This Been Tested? ⚙️

Among all the models tested, the Gradient Booster achieved the highest accuracy, approximately 100%, making it the best-performing model for predicting gold prices. This demonstrates its effectiveness in handling the dataset and providing reliable predictions.

Checklist: ☑️

  • My code follows the guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Copy link

github-actions bot commented Jun 7, 2024

Our team will soon review your PR. Thanks @fspzar123 :)

@abhisheks008
Copy link
Owner

Closing this pull request as it is conflicting with the main branch.

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

Successfully merging this pull request may close these issues.

The Effect of Economic News on Gold Prices Analysis
2 participants