Miscellaneous‎ > ‎

Code (list)


Note: All the source-codes are free to use. You may modify it as you want. The author does not have any responsibility for any consequence of using these codes. Contact the author if you encountered any problem. Please provide references to the authors' publications in works using part of these codes.

Github

MATLAB

  • K-means clustering [Code][Github]
  • Expectation-Maximization (EM) [Code][Github]
  • Ramer-Douglas-Peucker Algorithm [Code]
  • Collatz conjecture [Code]
  • Boyer-Moore Majority Vote Algorithm [Code]
  • When a function was released by MATLAB [Code]
  • Visuospatial Skill Learning Demo (VSL) [Repository]
  • Global Image Threshold (Otsu) [Code]
  • Insertion Sort Algorithm [Code]
  • Odd-Even Sort Algorithm [Code]
  • Cocktail Sort Algorithm [Code]
  • Bubble Sort Algorithm [Code]
  • Check if a specific toolbox is installed in MATLAB [Code]
  • Stabilized Gram-Schmidt Orthonormal Method [Code]
  • Function Approximation using Radial Basis Networks [Code]
  • Particle Swarm Optimization (PSO) Algorithm (Vectorized) [Code]
  • Van Valedhuizen's Test Suite Problems for Multi-objective Optimization (including 7 functions) [Code].
  • Model-based Policy Iteration Algorithm for Deterministic Cleaning Robot Problem [Code].
  • Q-learning (Model-free Value Iteration Algorithm) with ε-greedy Exploration [Code].
  • Model-based Value Iteration Algorithm for Stochastic Cleaning-Robot Problem [Code].
  • Model-based Value Iteration Algorithm for Deterministic Cleaning-Robot Problem [Code].
  • Homogeneous 3D Transformation [ZIP] [Code].
  • Trajectory Generation (3rd and 5th order) [Code].
  • Edit Distance Algorithm - A Standard Dynamic Programming [Code].
  • Random Search Algorithm (RSA) - Global Stochastic Optimization [Code].
  • Z-N PID Controller Tuning (Zigler-Nichols) [Code].
  • Comparing (1+1)-ES algorithm with constant σ value and 1/5 rule modified σ [Code].
Python
  • K-means [Code]
  • Particle Swarm Optimization (PSO) Algorithm [Code]
  • (1+1)-ES v.0.1 - the simplest algorithm in evolution strategy [Code].
  • Check the citation, h-index, i10-index from "google scholar" profile using python [Code].
C#
  • Random Search Algorithm (RSA) - Global Stochastic Optimization [Code]. 





Some results:

  • Comparing truncation vs. roulette selection in CEM




  • Comparing (1+1)-ES algorithm with constant σ value and "1/5 rule" modified σ.








Note: All the source-codes are free to use. You may modify it as you want. The author does not have any responsibility for any consequence of using these codes. Contact the author if you encountered any problem. Please provide references to the authors' publications in works using part of these codes.