DSCKGEC / learn-machine-learn

A one-stop repository for new-comers in Machine Learning and A.I.
MIT License
1 stars 4 forks source link

Add Random Forest Classifier #3

Closed KrishnenduDakshi2002 closed 2 years ago

KrishnenduDakshi2002 commented 2 years ago

A random forest is a meta estimator that fits a number of decision tree classifiers on various sub-samples of the dataset and uses averaging to improve the predictive accuracy and control over-fitting.

Requested Feature

Build a Random Forest classifier and in the output, f1-score, accuracy and confusion matrix must be printed, there is a function named metrics for printing the accuracy and confusion matrix. Hyperparameter tuning can be done to improve the accuracy. As the dataset is imbalanced, do prefer f1 score as metric while training.

muhammadanas0716 commented 2 years ago

I wish to solve this issue!

KrishnenduDakshi2002 commented 2 years ago

I wish to solve this issue!

Sure @muhammadanas365 I've assigned you the issue. Go ahead!

muhammadanas0716 commented 2 years ago

Thank you! One more thing, how am I supposed to push the request? One of your colleagues said I should publish on some other branch rather than on the main branch?

KrishnenduDakshi2002 commented 2 years ago

you will create a pull request to "dev" branch under main branch of this repo.

anuragc2001 commented 2 years ago

@muhammadanas365 Sorry to bother you but from now on please open a PR merging your branch to the main branch instead of pushing it to dev. The issue we faced was that the PR's in the dev branch were not tracked by the leaderboard. Sorry for the inconvenience. Continue with your work.

anuragc2001 commented 2 years ago

@muhammadanas365 What's your update? If you're facing any issue let us know. We're eagerly waiting for your PR and we want you to take up another issue. The more you solve, the better score you get in the final results.

muhammadanas0716 commented 2 years ago

Just did. Sorry was doing some extra EDA

anuragc2001 commented 2 years ago

@muhammadanas365 Alright! We're looking through your PR. In the meantime if you want to take some new issues feel free to comment under them.

muhammadanas0716 commented 2 years ago

Let's first get this merges then I'd be glad to solve another issue 😁

anuragc2001 commented 2 years ago

@muhammadanas365 Well done! Issue closed.