image thumbnail

updated 8 days ago

Enhanced Binary Particle Swarm Optimization (BPSO) with 6 new transfer functions by Seyedali Mirjalili

An Enhanced binary Particle Swarm Optimization algorithm (VPSO) with v-shaped transfer functions (particle swarm optimi..., pso, binary particle swarm...)

DrawConvergenceCurves(p,Max_iteration)

MyCost(x)

[gBest,gBestScore,ConvergenceCurve]=BPSO(noP,Max_iteratio...

image thumbnail

updated 10 days ago

Chaotic Biogeography-based Optimisation (CBBO) algorithm by Seyedali Mirjalili

50 chaos-embedded versions of the BBO algorithm (optimization, bbo, optimisation)

Ackley

BBO(ProblemFunction, DisplayFlag, ProbFlag, RandSeed)

BBO_chaos(ProblemFunction, DisplayFlag, ProbFlag, RandSee...

image thumbnail

updated 21 days ago

Autonomous Groups Particles Swarm Optimization (AGPSO) by Seyedali Mirjalili

A Particle Swarm Optimization Algorithm with Autonomous Groups of Particles (particle swarm optimi..., pso, optimization)

Get_Functions_details(F)

[gBestScore,gBest,cg_curve]=AGPSO1(N,Max_iteration,lb,ub,...

[gBestScore,gBest,cg_curve]=AGPSO1(N,Max_iteration,lb,ub,...

image thumbnail

updated 1 month ago

Shapiro-Wilk and Shapiro-Francia normality tests. by Ahmed Ben Saïda

Shapiro-Wilk & Shapiro-Francia parametric hypothesis test of composite normality. (statistics, probability, normality test)

swtest.m

image thumbnail

updated 1 month ago

Particle Swarm Optimization (Vectorized Code) by Reza Ahmadzadeh

a simple implementation of Particle Swarm Optimization algorithm (PSO) (pso, particle swarm, swarm intelligence)

VPSO.m

image thumbnail

updated 1 month ago

RSA algorithm by suriyanath

RSA algorithm for encrypting and decrypting a message (rsa algorithm, algorithm, networking)

RSA_char.m

image thumbnail

updated 1 month ago

Dijkstra Algorithm by suriyanath

Computes shortest path between two nodes using Dijkstra algorithm (dijkstra, algorithm, shortest path algorit...)

dijkstra.m

image thumbnail

updated 2 months ago

7 Multi-Objective Problems (Van Valedhuizen's test suite) by Reza Ahmadzadeh

The file includes 7 standard function of the Van Valedhuizen's test suite. (objective, optimization, multi)

MOP1(X)

MOP2(X)

MOP3(X)

image thumbnail

updated 3 months ago

Particle Swarm Optimization (PSO) by Pramit Biswas

Searching/Tuning/Optimizing by Particle Swarm Optimization (PSO) method (particle swarm optimi..., pso, particle)

Particle_Swarm_Optimization (Bird_in_swarm, Number_of_qua...

image thumbnail

updated 3 months ago

K-Nearest Neighbors for image segmentation by Mohamed

Implementation of the algorithm K-Nearest Neighbors. (knn, knearest neighbors, algorithm)

knnAlgo(test_data, tr_data,tr_lbls,k)

image thumbnail

updated 5 months ago

Model-based Value Iteration Algorithm for Stochastic Cleaning Robot by Reza Ahmadzadeh

An Example for Reinforcement Learning and Dynamic Programming (Stochastic) (reinforcement learnin..., dynamic programming, modelbased)

stochastic_robot_cleaning_v1

image thumbnail

updated 5 months ago

Model-based Value Iteration Algorithm for Deterministic Cleaning Robot by Reza Ahmadzadeh

An Example for Reinforcement Learning and Dynamic Programming (reinforcement learnin..., dynamic programming, value iteration)

deterministic_robot_cleaning_v1

image thumbnail

updated 6 months ago

Data Structures by Brian Moore

MATLAB implementations of common data structures, including trees, hash tables, heaps, and lists (data structures, matlab classes, trees)

Array

BSTElement

BinarySearchTree

image thumbnail

updated 6 months ago

Multi-objective bat algorithm (MOBA) by Xin-She Yang

Matlab demo code for multiobjective bat algoritm (multiobjective optimi..., optimization, algorithm)

Q=moba_demo(NPareto)

image thumbnail

updated 6 months ago

Flower Pollination Algorithm by Xin-She Yang

Flower algorithm for global optimization (metaheuristic, optimization, algorithm)

[best,fmin,N_iter]=fpa_demo(para)

image thumbnail

updated 7 months ago

SMA, MACD, RSI (SMR) Trading Algorithm by Chad Smith

View a stock's buy/sell recommendations based on a synthesis of the indicators SMA, MACD, and RSI (stock, algorithmic trading, algorithm)

smr_strategy.m

image thumbnail

updated 7 months ago

Backtracking Search Optimization Algorithm by PINAR CIVICIOGLU

A new swarm-based global optimization algorithm for real valued numerical optimization problems. (optimization, signal processing, image processing)

FoxHoles(x,mydata)

[fname,fnc,low,up,dim]=setttingOfBenchmarkFnc(i)

ackley(x,mydata)

image thumbnail

updated 8 months ago

Fixed Point Algorithm by James Adams

Calculates the fixed point of a function. (fixed point, algorithm, function)

FixedPoint_Algorithm_JA

image thumbnail

updated 11 months ago

Vectorized Bisection Search by Sky Sartorius

Robust root-finding method that handles n-dim inputs and therefore has key advantages over FZERO. (bisection, search, root)

bisection(f,lb,ub,target,options)

image thumbnail

updated 1 year ago

Massive Uniform Manipulation: Control Large Populations of Simple Robots with a Common Input Signal by Aaron Becker

rearranges n robots controlled to move in unison {up, down, left, right} using 1 obstacle (control design, robot, micro robot)

BinaryImage(image,c)

PosControl_universal

posControlShapes(shape)

image thumbnail

updated 1 year ago

2D fast marching algorithm by Juan Cardelino

computation of distance maps using fast marching (differential equation..., fast marching, algorithm)

T=fast_marching(data_points,siz,plot)

test_fm.m

image thumbnail

updated 1 year ago

MINRES-QLP by Sou-Cheng

Computing min-length (pseudoinverse) solution to symmetric (possibly singular) Ax=b or min||Ax-b||. (singular, symmetric, hermitian linear syst...)

[x,flag,iter,Miter,QLPiter,relres,relAres,...

image thumbnail

updated 1 year ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

varargout=findvalues(vector,yvalue)

image thumbnail

updated 1 year ago

March Madness Algorithm by Nathan Lorah

Need help deciding who will win this year in the tournament? This algorithm will help with that. (basketball, sports, march madness)

MarchMadness2Algorithm.m

image thumbnail

updated 1 year ago

Low Energy Adaptive Clustering Hierarchy protocol (LEACH) by Hossein Dehghan

Low Energy Adaptive Clustering Hierarchy (LEACH) cluster based routing protocol in WSN (algorithmwsnrouting p..., algorithm)

clusterOptimum(netArch, nodeArch, dBS)

createfigure(X1, Y1, Y2, Y3)

dissEnergyCH(clusterModel, roundArch)

image thumbnail

updated 1 year ago

An Approximation Solution for the Prize-Collecting Steiner Tree Problem by Fangzhou Chen

A function giving feasible(not optimal) solutions to the Prize-Collecting Steiner Tree Problem (algorithm, optimization, combinatorics)

FindTree(G, vp)

PCSTr(G, vp, r)

image thumbnail

updated 1 year ago

Edit Distance Algorithm by Reza Ahmadzadeh

Edit Distance is a standard Dynamic Programming problem. (mathematics, search, dynamic programming)

EditDistance(string1,string2)

image thumbnail

updated almost 2 years ago

Random Search Algorithm by Reza Ahmadzadeh

Random search belongs to the fields of Stochastic Optimization and Global Optimization. (optimization, random, search)

RSA.m

RSA_visual.m

image thumbnail

updated almost 2 years ago

Stereo Matching by Wim Abbeloos

A GUI demonstrates an efficient stereo matching algorithm. (stereo, matching, computer vision)

Stereo Matching

polyfit(x,y,n)

stereomatch(imgleft, imgright, windowsize, disparity, spa...

image thumbnail

updated 2 years ago

Bat algorithm (demo) by Xin-She Yang

This is a demo for Bat Algorithm, developed by Xin-She Yang (2010). (optimization, natureinspired, metaheuristic)

[best,fmin,N_iter]=bat_algorithm(para)

image thumbnail

updated 2 years ago

k-means clustering algorithm by Craig

Performs one step of the k-means clustering algorithm (kmeans, k means, average)

kmean(img,means)

Example.m

image thumbnail

updated 2 years ago

KTHVALUE (v2.1, jun 2012) by Jos (10584)

select the k-th smallest element in a (randomized) list (matrix, sort, select)

kthvalue(L,K)

image thumbnail

updated 2 years ago

AI for a game called chomp by Abhilash Harpale

this program uses the minimax algorithm for playing chomp.open the file create_tree for instrutions. (game, chomp, puzzle)

[output]=create_sub_tree(current_state,player,i,m,n)

output=next(current_state,j,m,n)

output=solve_tree(tree)

image thumbnail

updated 2 years ago

Multiresolution Gabor-like transforms by Kunal Chaudhury

Matlab implementation of the multiresolution Gabor filters in 1 and 2 dimensions. (gabor function, wavelet transform, fractional bsplines)

analysis(f, J, alpha, tau)

analysis(inImg, J, alpha, tau)

autocorr(M, alpha)

image thumbnail

updated 2 years ago

Video Sudoku Solver by Teja Muppirala

Solves a sudoku with a web camera and then displays it while tracking the original video feed. (video processing, sudoku, image processing)

drawsudoku(M)

identifynumbers_fun(pts,Pnew,NT,IBW)

mysudokusolver(filename)

image thumbnail

updated 2 years ago

Confusion matrix / Matching matrix along with Precision, Sensitivity, Specificity and Model Accuracy by Avinash Uppuluri

CFMATRIX2 calculates the confusion matrix and related parameters for a classification algo. (statistics, probability, confusion matrix)

cfmatrix2(actual, predict, classlist, per, printout)

image thumbnail

updated 2 years ago

LMS Algorithm Implementation by Ansuman Mahapatra

LMS Algorithm Implementation (lms, matlab, algorithm)

lms.m

image thumbnail

updated 2 years ago

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

It is used to generate useful solutions to optimization and search problems. (genetic, algorithm, optimization)

[p_min, iter, f]=genetic_algorithm (func, numMaxInd, numF...

image thumbnail

updated 2 years ago

Red Black Tree by Hanan Kavitz

Matlab implementation of RedBlack tree (redblack tree, red black tree, algorithm)

Nodes.ColoredNode

Nodes.Colors

Nodes.FullNode

image thumbnail

updated almost 3 years ago

Connect Four by Mathias Benedek

The classic game connect four can be played on a 7x7 board against a computer-opponent at 3 levels. (game, minimax, algorithm)

connect4(player, nmvs, posval)

connect4_start

image thumbnail

updated almost 3 years ago

Improving the convergence of Nelder-Mead (and so fminsearch) by Emile Simon

This highlights a (common) trick to improve the convergence of NM, and a problem within fminsearch. (optimization, neldermead, algorithm)

nmsmax(fun, x, stopit, savit, varargin)

BenchmarkXSquared.m

image thumbnail

updated 3 years ago

Robust Sudoku Solver by Iskander Benhadj

Robust Sudoku solver is robust solver. (sudoku, robust, excellent)

elimination (TAB,i,lon,permut_tab1)

solver

image thumbnail

updated 3 years ago

Vertical Handoff Algorithm for Heterogeneous Wireless Mobile Networks by Anshul Thakur

Simplistic implementation of Extended Vertical Handoff Decision Function (vertical handoff, evdf, heterogenous networks)

code_modified()

image thumbnail

updated 3 years ago

Travel Guide (GridLess Based Djikstra Algorithm) by Krishna Lalith

Player need to Define Map & 2 Points to get Shortest Distance. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath,flag]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 3 years ago

Travel Guide (Grid Based Djikstra Algorithm) by Krishna Lalith

Player need to Define Map & 2 Points to get Shortest Distance. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 3 years ago

Travel Guide (Points Based Djikstra Algorithm) by Krishna Lalith

Player need to Define 2 Points to get Shortest Distance Path. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath,flag]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 3 years ago

Pattern search method: deterministic iterative zero order algorithm by Andrea Cirillo

It finds the relative minimum of a two variables function with the Pattern search method. (optimization, mathematics, deterministic)

pattern_search.m

image thumbnail

updated 3 years ago

Improved Base Expansion Algorithm by Alexander Wallar

This is an improvement of my last base expansion algorithm (base, expansion, algorithm)

baseVecExpand(n,c,b)

image thumbnail

updated almost 4 years ago

Simple Sudoku Solver by Indraneel Biswas

This is a very basic sudoku solver. (sudoku, solve, solver)

A=d2a(D)

D=sudokuA(D)

D=sudoku_f3(D)

image thumbnail

updated almost 4 years ago

Optimization Algorith for Uncertain Nonlinear Dynamic System by Khairul Redwan

Dynamic Integrated System Optimization and Parameter Estimation (DISOPE) Technique (optimization, advanced process cont..., disope)

[ u, x, p, cnv, ztrue]=disope( u0, A, B, Q, R, PHI, r1, ...

fstar( x, u, option )

lstar( x, u , option )

Contact us