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

Basic machine learning algorithms. #2

Open
diffrxction opened this issue Sep 30, 2022 · 29 comments · Fixed by #13, #11, #26, #28 or #30
Open

Basic machine learning algorithms. #2

diffrxction opened this issue Sep 30, 2022 · 29 comments · Fixed by #13, #11, #26, #28 or #30
Assignees
Labels
code and documentation Issues that need both code and documentation in Markdown files. hacktoberfest Issues related to the hacktoberfest 2022 event hacktoberfest-starters Issues that can be possibly solved by beginners to open-source intermediate-ml Intermediate level issues.

Comments

@diffrxction
Copy link
Member

Here, you are required to give self implemented machine learning algorithms. This means, submitting code that works similar to the inbuilt machine learning algorithms or error metrics like RMSE, MAE, simple regressors and classifiers.

Folder structure to follow:

├── Self-implemented ML Algorithms
│   ├── Error metrics
│   │   ├──Mean Absolute Error  (Create sub-folder here)
│   │   ├──Root Mean Absolute Error (Create sub-folder here) and so on.
│   ├── ML Algorithms
│   │   ├──Linear Regression  (Create sub-folder here)
│   │   ├──Logistic Regression  (Create sub-folder here) and so on.
│   │   ├──Decision Trees(Create sub-folder here)
│   │   ├──Support Vector Machines(Create sub-folder here)

P.S. If you use any datasets to check the correctness of your algorithms, then do include the links in the relevant markdown files.

If you are interested, add a comment to this issue and I will allocate the issue to you.

Please see, you will be allotted a small portion of the topics mentioned above just so all interested people have a chance to contribute.
You can also try implementing some metric or algorithm that is not mentioned in this issue. Do so by mentioning what you plan on implementing in the comments below or creating a new issue and I will assign the issue to you.
Also notice the labels for each issue, that will give you an idea about what kind of work you are expected to do.

Cheers! 😄

@diffrxction diffrxction added hacktoberfest Issues related to the hacktoberfest 2022 event hacktoberfest-starters Issues that can be possibly solved by beginners to open-source intermediate-ml Intermediate level issues. code and documentation Issues that need both code and documentation in Markdown files. labels Sep 30, 2022
@ThePsyk3y
Copy link

I would like to try to self implement the Logistic Regression ML Algorithm. Please allot that section to me.

@diffrxction
Copy link
Member Author

I would like to try to self implement the Logistic Regression ML Algorithm. Please allot that section to me.

@ThePsyk3y Sure, feel to free to proceed with the pull request and remember to follow the folder structure as shown above. All the best! ⭐

@ArmaanSeth
Copy link
Contributor

Hello @diffrxction I would like to write code for Linear Regression, including both its implementation and by using sklearn model.

@diffrxction
Copy link
Member Author

Hello @diffrxction I would like to write code for Linear Regression, including both its implementation and by using sklearn model.

Hey @ArmaanSeth I was thinking if your could write that code from scratch along with some documentation instead of using the scikit learn in-built library, that would be a better contribution as it would give people an idea about the internal working of the algorithm. Let me know if that is possible for you and I will allot this issue to you alongside the importing of libraries with some code examples.

@ArmaanSeth
Copy link
Contributor

ArmaanSeth commented Oct 2, 2022

@diffrxction Yes I would be happy in doing so.
Just want to ask in which format do you require the documentation, -will it a separate text document or -will it be just comments in the code.

@diffrxction
Copy link
Member Author

@diffrxction Yes I would be happy in doing so. Just want to ask in which format do you require the documentation, -will it a separate text document or -will it be just comments in the code.

I was going for one subfolder for your task with a relevant title. Then within that subfolder, add a .py or .ipynb file as is convenient for you along with a Markdown file (.md file) explaining and documenting the idea/working behind the code.

@ArmaanSeth
Copy link
Contributor

@diffrxction Yes I would be happy in doing so. Just want to ask in which format do you require the documentation, -will it a separate text document or -will it be just comments in the code.

I was going for one subfolder for your task with a relevant title. Then within that subfolder, add a .py or .ipynb file as is convenient for you along with a Markdown file (.md file) explaining and documenting the idea/working behind the code.

Okay, I am on it.

@maheakdave
Copy link

maheakdave commented Oct 4, 2022

Hello @diffrxction bhaiya i would like to write code for decision trees from scratch and its documentation (both regressor and classifier)

This was linked to pull requests Oct 4, 2022
@diffrxction
Copy link
Member Author

Hello @diffrxction bhaiya i would like to write code for decision trees from scratch and its documentation (both regressor and classifier)

Sure @maheakdave you can proceed with Decision Trees. I am assigning you this issue. Do remember to follow the folder structure. Your sub folder titled Decision Tree Implementation should be within the folder MLSelfImplementedAlgos folder.

@ArmaanSeth
Copy link
Contributor

@diffrxction can I work on NLP?

@diffrxction
Copy link
Member Author

@diffrxction can I work on NLP?

You definitely can if you are interested in starting with the very basics. First of all create a new issue in the Issues tab with proper title and description of the kind of work you wish to do. Then just follow the same procedure.

Make a new independent folder called NLP Basics in your local fork and add your files within that folder.

@ArmaanSeth
Copy link
Contributor

ArmaanSeth commented Oct 5, 2022

Hi @diffrxction shouldn't I do it in the issue of basic machine learning algorithms?
Or if not, will the new issue that I create have the hactoberfest label.

@diffrxction
Copy link
Member Author

Hi @diffrxction shouldn't I do it in the issue of basic machine learning algorithms? Or if not, will the new issue that I create have the hactoberfest label.

I think NLP can be treated as its own seperate subset of ML but it definitely is not a basic concept, that's why the separate issue.

Don't worry about the labels, I will add them once you create the Issue.

@ArmaanSeth
Copy link
Contributor

Okay I'll start working on it right away.

@ArmaanSeth
Copy link
Contributor

Hi @diffrxction I have created the issue please add the appropriate labels on them.

@diffrxction
Copy link
Member Author

Hi @diffrxction I have created the issue please add the appropriate labels on them.

Done.

@ArmaanSeth
Copy link
Contributor

Hi @diffrxction I have created the issue please add the appropriate labels on them.

Done.

Thanks

@ArmaanSeth
Copy link
Contributor

Hi @diffrxction, can I implement KNN.

@diffrxction
Copy link
Member Author

Hi @diffrxction, can I implement KNN.

Yeah sure @ArmaanSeth. Put it into a new folder under MLSelfImplementedAlgos and add relevant code and documentation as always.

@ArmaanSeth
Copy link
Contributor

Hi @diffrxction, can I implement KNN.

Yeah sure @ArmaanSeth. Put it into a new folder under MLSelfImplementedAlgos and add relevant code and documentation as always.

Okay I'll start working on it and try to finish it till tomorrow.

@diffrxction
Copy link
Member Author

Hi @diffrxction, can I implement KNN.

Yeah sure @ArmaanSeth. Put it into a new folder under MLSelfImplementedAlgos and add relevant code and documentation as always.

Okay I'll start working on it and try to finish it till tomorrow.

Sure buddy, no hurry. Take your time.

@kitrak-rev
Copy link
Contributor

Hi, I would like to contribute to the Mean Absolute Error.

@diffrxction
Copy link
Member Author

Hi, I would like to contribute to the Mean Absolute Error.

Hello, please go ahead with the task, I am assigning you this issue.

Just remember to follow the folder structure and create a new folder within the MLSelfImplementedAlgos folder called Error Metrics within which you can add your code and documentation for Mean Absolute Error.

@Padi-Rishitha
Copy link
Contributor

@diffrxction Can I work on mean squared error !!

@diffrxction
Copy link
Member Author

@diffrxction Can I work on mean squared error !!

Sure @Padi-Rishitha. Feel free to go ahead with this task. You can create a folder called Error Metrics within the pre-existing MLSelfImplementedAlgos folder, the same as I have mentioned in my comment above. And add your code within this folder structure.

Both code and documentation would be better. And please remember to name the folders in the same way as I have mentioned or they will not be in sync with any future or past commits and show up elsewhere.

I am assigning you this issue. Good luck!

This was linked to pull requests Oct 8, 2022
Merged
@diffrxction diffrxction reopened this Oct 9, 2022
@kitrak-rev
Copy link
Contributor

kitrak-rev commented Oct 11, 2022

@diffrxction I am done with Mean Absolute Error, kindly look into the PR #29.

@diffrxction
Copy link
Member Author

@diffrxction I am done with Mean Absolute Error, kindly look into the PR #29.

Done. Thanks for your contribution!

@kitrak-rev
Copy link
Contributor

kitrak-rev commented Oct 12, 2022

@diffrxction Can I do Root Mean square error metric?, since its close to MSE, think its easier

@kitrak-rev
Copy link
Contributor

@diffrxction Completed RMSE in above PR #30 , Request to kindly look into the PR, and suggest changes if any.

@diffrxction diffrxction linked a pull request Oct 13, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code and documentation Issues that need both code and documentation in Markdown files. hacktoberfest Issues related to the hacktoberfest 2022 event hacktoberfest-starters Issues that can be possibly solved by beginners to open-source intermediate-ml Intermediate level issues.
Projects
None yet
6 participants