TheAlgorithms / TheAlgorithms/Rust

Suggestion: Add optimization functions, ml algorithms under `machine_learning` folder

Open
#578 13 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dont-close
Dominant language
Rust
Stars
26.1k
Forks
2.6k
Avg merge
52m
Merged PRs (30d)
1

Description

I would like to suggest adding Optimization functions, machine learning and deep learning algorithms in this repository. This can be added in a separate folder called machine_learning folder. Further, this folder can contain various algorithms that are used in machine learning and deep learning.

Initially, these Optimization functions can be added under machine_learning/optimization/

  • Gradient Descent
  • Stochastic Gradient Descent (SGD)
  • Mini-Batch Gradient Descent
  • Adam (Adaptive Moment Estimation)
  • RMSprop (Root Mean Square Propagation)
  • AdaGrad (Adaptive Gradient Algorithm)

And these in machine_learning/

  • Linear Regression
  • Logistic Regression
  • Decision Trees
  • Random Forest
  • Support Vector Machines (SVM)
  • K-Nearest Neighbors (K-NN)
  • Naive Bayes
  • K-Means Clustering
  • Principal Component Analysis (PCA)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing machine_learning/optimization/ and machine_learning/ entries, including the listed Gradient Descent and Linear Regression work. Narrow the broad proposal to one unimplemented algorithm, such as SGD or Logistic Regression, before deciding the exact scope. Done should mean that one clearly selected algorithm is added in the appropriate folder and its checklist item is completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
machine-learning, rust
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.