Skip to content

Conversation

@ZohaiAli
Copy link

This PR updates DM_Project_RandomForest.py in the following ways:

  • Replace deprecated imports (cross_validation, grid_search) with model_selection
  • Convert print statements to Python 3 style
  • Structure code into functions for better readability
  • Add error handling for missing files
  • Use confusion matrix plotting and saving

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.

1 participant