TheAlgorithms/MATLAB-Octave

Add more algorithms!

Open

#9 建立於 2019年10月10日

在 GitHub 查看
 (13 留言) (1 反應) (0 負責人)MATLAB (159 fork)batch import
good first issuehacktoberfesthelp wanted

倉庫指標

Star
 (311 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

EDIT 6/10/20: If you are making a PR for hacktoberfest, please say so in your PR description so that I can add the hacktoberfest-accepted label.

This repo needs more algorithms. If you see any missing algorithms, kindly contribute. Hackotberfest participants are welcome! I will list some of the algorithms that are up for grabs. However, please check if the algorithm is already in our repo before you begin working. Feel free to help me add more items to the list. If you have any questions, ask away!

Some Guidelines:

  1. Please create 1 pull request per algorithm for ease of review.
  2. Please do not plagiarise. Implementations must be your own. If you have used help from some article (say Wikipedia), give credit in your script in a comment.
  3. Give a brief explanation/links of what your script does.
  4. Give helpful comments where you deem necessary. Don't add comments where it's trivial such as x = y + z % adds two numbers or is unnecessary.
  5. Use proper variable names and filename. If you are working on prime check, please use a proper file name such as prime_check.m rather than primec.m
  6. Incase your algorithm required multiple files, create a subdirectory, for example, the kmeans algorithm requires two files, so we have a subdirectory for it. Try not to add unnecessary files.
  7. This repo is for educational purposes. Please keep that in mind when you are working on a contribution to this repo.
  8. Following this coding style guideline is recommended for all PRs.

Sorting Algorithms:

  • Merge sort
  • Insertion Sort
  • Radix sort
  • Quick sort
  • Bubble sort
  • Bucket sort

Searching Algorithms:

  • Linear Search
  • Binary Search
  • Quick Search
  • Jump Search

Math:

  • Factorial
  • Fibonacci series
  • Prime factors
  • Prime check
  • Softmax
  • Jaccard Similarity
  • Greatest Common Divisor
  • Euclidean Distance
  • Hamming Distance
  • Find LCM
  • Find HCF
  • Sum of arithmetic series
  • Sum of geometric series

Machine Learning: NOTE: Please try to use standard datasets for these problems that are freely available and perhaps popular, such as the iris dataset. Or datasets that are already inbuilt in Matlab/Octave.

  • Linear Regression
  • Logistic Regression
  • Gradient Descent
  • DBScan
  • K nearest neighbors
  • K medoid clustering
  • Fuzzy C-means
  • Single Layer Perceptron
  • RBF NN

貢獻者指南