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

Added Machine Learning Model for IPL Outcome Prediction" #1321

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

bhanushri12
Copy link
Contributor

Title: Implement RandomForestClassifier for IPL Match Outcome Prediction


Issue: 1284

Description:

This pull request introduces a RandomForestClassifier model for predicting IPL match outcomes. Key changes and additions include:

  • Data Preprocessing:

    • Encoded categorical variables using pd.get_dummies.
    • Addressed missing values and ensured proper data formatting for model training.
  • Model Implementation:

    • Configured and trained a RandomForestClassifier with specific hyperparameters (n_estimators=200, min_samples_split=3, max_features='sqrt').
    • Split the dataset into training and testing sets.
  • Feature Engineering:

    • Included relevant features such as team names, toss details, and match results.
    • Dropped non-essential columns to improve model performance.
  • Model Training and Evaluation:

    • Fitted the model to the training data.
    • Evaluated the model's performance on the test set.

Additional Notes:

  • Ensure all dependencies are installed before running the model.
  • The model showed promising results with initial evaluations; further tuning and feature engineering can enhance performance.

Checklist:

  • Code follows the project's style guidelines.
  • Changes are tested and verified.

@github-actions github-actions bot requested a review from Kushal997-das July 28, 2024 09:41
Copy link

@bhanushri12

It's great having you contribute to this project

Thank you for opening a Pull Request 🙌 , Welcome to Project Guidance 💖 We will review everything and get back to you :)

@bhanushri12
Copy link
Contributor Author

@Kushal997-das I have added few changes.

@Kushal997-das Kushal997-das added enhancement New feature or request gssoc This level is for GSSOC level1 Under level 1 labels Jul 31, 2024
@Kushal997-das Kushal997-das merged commit 8c09f14 into Kushal997-das:main Jul 31, 2024
3 checks passed
Copy link

@bhanushri12 Hurray, your PR got merged into our Project-Guidance 🥳. Thanks a bunch. Feel free to take another Issue. 💖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc This level is for GSSOC level1 Under level 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants