Skip to content
View ahmedfgad's full-sized avatar

Sponsoring

@numfocus

Organizations

@realpython @MediciaAI

Block or report ahmedfgad

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ahmedfgad/README.md
Ahmed Gad. Senior AI engineer and researcher. Founder of Vilvik, creator of PyGAD.

LinkedIn X Email Vilvik website YouTube channel
Google Scholar ResearchGate ORCID

I'm a senior AI engineer and researcher in Ontario, Canada. I've built AI for cybersecurity at Trend Micro and machine learning for cancer research at Medicia Research. I created PyGAD, an open-source genetic algorithm library, and founded Vilvik. I've also written six books and more than 90 tutorials on machine learning, computer vision and Python, and I build mobile apps.

What I'm Building

Vilvik. Evolutionary optimization on the cloud, for your decisions, models, and games. No setup.

Vilvik is my company, an early-stage Canadian startup. Its online application runs evolutionary optimization in the cloud, so you can optimize a decision, tune a model, or evolve a game agent from the browser, the REST API, or Python, without setting anything up. Vilvik also offers AI consulting.

pip install vilvik

Website · Python SDK · GitHub · LinkedIn · X


PyGAD. Open-source Python library for genetic algorithms. Optimize anything, and train Keras and PyTorch models.

PyGAD is the open-source genetic algorithm library behind it all. It handles single and multi-objective problems and can train Keras and PyTorch models.

Website (pygad.com) · Documentation · GitHub · PyPI

GitHub stars Total downloads Monthly downloads PyGAD website Documentation PyGAD paper

Selected Projects

Project What it does Stars
NumPyCNN Convolutional neural networks built from scratch with NumPy stars
NeuralGenetic Train neural networks for classification and regression with the genetic algorithm stars
Mask-RCNN-TF2 Port of Matterport's Mask R-CNN object detection and segmentation to TensorFlow 2 stars
NumPyANN Artificial neural networks implemented with NumPy stars
TorchGA · KerasGA Train PyTorch and Keras models with PyGAD stars
FederatedLearning A federated learning demo in Python using sockets stars
CoinTex A cross-platform game written in Python with Kivy, on Google Play stars
ArithmeticEncodingPython Data compression with arithmetic encoding in Python stars
GARI Reproduce an image with the genetic algorithm by evolving pixel values stars
CIFAR10CNNFlask A CNN image classifier served over HTTP with Flask stars
AndroidFlask Upload images from an Android app to a Python Flask server stars

Books

Transformers and Large Language Models book cover Introduction to Deep Learning and Neural Networks with Python book cover Building Android Apps in Python Using Kivy with Android Studio book cover Practical Computer Vision Applications Using Deep Learning with CNNs book cover
Transformers and Large Language Models
A Hands-On Guide to RAG and Agentic AI
Apress, 2026

Amazon · Springer · Code
Introduction to Deep Learning and Neural Networks with Python
A Practical Guide
Academic Press, 2020

Amazon · Code
Building Android Apps in Python Using Kivy with Android Studio
With Pyjnius, Plyer, and Buildozer
Apress, 2019

Amazon · Code
Practical Computer Vision Applications Using Deep Learning with CNNs
With Examples in Python Using TensorFlow and Kivy
Apress, 2018

Amazon · Code

All my books are on my Amazon author page.

More books: Do Machine Learning Yourself with Python (Leanpub, 2019) · TensorFlow: A Guide to Build Artificial Neural Networks Using Python (LAP Lambert, 2017)

Research

My work has more than 1,000 citations on Google Scholar. Selected papers:

All my papers are on Google Scholar and ResearchGate.

Writing

I've published more than 90 tutorials on machine learning, deep learning and Python, including three articles for Neptune.ai, and some have been translated into Chinese, Turkish, Russian and Hungarian.

KDnuggets articles Medium articles Paperspace tutorials DataCamp tutorials

My Apps

My apps on Google Play My apps on the App Store

Takmila app icon
Takmila
Quran memorization by filling in the missing word
Google Play · App Store
Mawj Quran Radio app icon
Mawj Quran Radio
Live Quran radio, recitations and archives
Google Play · App Store
SwellFire app icon
SwellFire
Lead a growing squad through gates to boss battles
Google Play · App Store
CoinTex app icon
CoinTex
60 arcade levels across 6 worlds, built with Python
Google Play · App Store · Code
EasyUpload app icon
EasyUpload
Send files from Android to a desktop PC
Google Play

Support My Work

PyGAD and my other open-source projects are free. If they help you, you can support them here:

Sponsor on GitHub Donate with PayPal Open Collective

In Canada, you can also send an Interac e-Transfer to ahmed.f.gad@gmail.com.

Tools I Use

Python NumPy PyTorch TensorFlow Keras Django JavaScript Cloudflare

Pinned Loading

  1. GeneticAlgorithmPython GeneticAlgorithmPython Public

    Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).

    Python 2.2k 504

  2. VilvikInc/vilvik-python VilvikInc/vilvik-python Public

    Python

  3. NumPyCNN NumPyCNN Public

    Building Convolutional Neural Networks From Scratch using NumPy

    Python 599 186

  4. NeuralGenetic NeuralGenetic Public

    Building and training artificial neural networks (regression or classification) using the genetic algorithm.

    Python 254 92

  5. Mask-RCNN-TF2 Mask-RCNN-TF2 Public

    Forked from matterport/Mask_RCNN

    Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow 2.0

    Python 337 200

  6. FederatedLearning FederatedLearning Public

    Federated Learning Demo in Python using Socket Programming

    Python 89 23