ParallelGSO
A highly scalable parallel version of Galactic Swarm Optimisation Algorithm
Install / Use
/learn @shubham0704/ParallelGSOREADME
parallelGSO
<center><image src="images/cover_pso.png"><center>A highly scalable parallel version of Galactic Swarm Optimisation Algorithm
Galactic Swarm Optimization is a state-of-the-art meta-heuristic optimization algorithm which is insiped by the motion of stars, galaxies, superclusters interacting with each other under the influence of gravity.
Train Artificial Neural Networks quickly without backprop!
Take a look at a detailed introduction to our project - HERE
Installation
We recommend Anaconda. For installing Anaconda (for Linux) you can use this script
For Anaconda Users -
$ conda env update -f env.yaml
$ conda activate pgso
For PIP Users -
pip install -r requirements.txt
To run Benchmarks
All the testing experiments are present in the experiments/tests directory. To rerun the benchmarks do -
// cd into this project directory then
$ cd experiments/tests
$ jupyter notebook
You will then find a lot of notebooks which contains all kinds of different testings
To run the main experiments, check -Main Experiments (Performance Tests)
For per-cpu utilization benchmarks check - Per CPU Utilisation Experiments
To run Benchmarks against the functions test suite - Benchmarks
To Use PGSO (Parallel Galactic Swarm Optimization) as a module do -
from pgso.gso import GSO as PGSO
PGSO(
M=<number of processes to be spawned
bounds=<[[-100, 100],[-100, 100]]>,
num_particles=<number of particles>,
max_iter=<maximum number of iterations>,
costfunc=<n dimensional cost function>
)
:returns:
best_postition -> 1d array of n positions ex: [x, y] or [x,y,z] etc.
best_error -> the best minimized error for the given function
Training Artificial Neural Networks
Check out ANN vs PGSO. This directory contains tutorial notebooks for you to get started.
Related Skills
claude-opus-4-5-migration
110.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
351.8kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
51.2k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
