All Projects → Computational-Intelligence-Fall18 → Computational-Intelligence-Tutorials

Computational-Intelligence-Fall18 / Computational-Intelligence-Tutorials

Licence: Apache-2.0 license
This is the repository of codes written in class.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Computational-Intelligence-Tutorials

Genetics
Genetics (Initialization, Selection, Crossover, Mutation)
Stars: ✭ 15 (-58.33%)
Mutual labels:  mutations, crossover
Pysr
Simple, fast, and parallelized symbolic regression in Python/Julia via regularized evolution and simulated annealing
Stars: ✭ 213 (+491.67%)
Mutual labels:  numpy, genetic-algorithm
Geneticalgorithmpython
Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
Stars: ✭ 435 (+1108.33%)
Mutual labels:  numpy, genetic-algorithm
KnapsackFX
Solving Knapsack 0/1 problem with various Local Search algorithms like Hill Climbing, Genetic Algorithms, Simulated Annealing, Tabu Search
Stars: ✭ 25 (-30.56%)
Mutual labels:  genetic-algorithm, knapsack-problem
OptimisationAlgorithms
Searching global optima with firefly algorithm and solving traveling salesmen problem with genetic algorithm
Stars: ✭ 20 (-44.44%)
Mutual labels:  genetic-algorithm
genetic deep learning
No description or website provided.
Stars: ✭ 13 (-63.89%)
Mutual labels:  genetic-algorithm
opt4j
Modular Java framework for meta-heuristic optimization
Stars: ✭ 25 (-30.56%)
Mutual labels:  genetic-algorithm
EvOLuTIoN
A simple simulation in Unity, which uses genetic algorithm to optimize forces applied to cubes
Stars: ✭ 44 (+22.22%)
Mutual labels:  genetic-algorithm
shyft
⬡ Shyft is a server-side framework for building powerful GraphQL APIs 🚀
Stars: ✭ 56 (+55.56%)
Mutual labels:  mutations
numpy-tutorials
NumPy tutorials & educational content in notebook format
Stars: ✭ 226 (+527.78%)
Mutual labels:  numpy
NeuralGenetic
Building and training artificial neural networks (regression or classification) using the genetic algorithm.
Stars: ✭ 187 (+419.44%)
Mutual labels:  genetic-algorithm
sopt
sopt:A simple python optimization library
Stars: ✭ 42 (+16.67%)
Mutual labels:  genetic-algorithm
Smart-Algorithm
智能算法-遗传算法、蚁群算法、粒子群算法实现。实现版本Java,Python,MatLab多版本实现
Stars: ✭ 277 (+669.44%)
Mutual labels:  genetic-algorithm
BeamNG terrainMaterialCache
BeamNG.drive Black Terrain fix for Linux and Mac
Stars: ✭ 81 (+125%)
Mutual labels:  crossover
galois
A performant NumPy extension for Galois fields and their applications
Stars: ✭ 106 (+194.44%)
Mutual labels:  numpy
triangula
Generate high-quality triangulated and polygonal art from images.
Stars: ✭ 3,775 (+10386.11%)
Mutual labels:  genetic-algorithm
binlex
A Binary Genetic Traits Lexer Framework
Stars: ✭ 303 (+741.67%)
Mutual labels:  genetic-algorithm
PyTorch.docs
Offline documentation built from official PyTorch release
Stars: ✭ 105 (+191.67%)
Mutual labels:  numpy
engineering design by artificial intelligence
Combining artificial intelligence and engineering design
Stars: ✭ 29 (-19.44%)
Mutual labels:  genetic-algorithm
naturalselection
A general-purpose pythonic genetic algorithm.
Stars: ✭ 17 (-52.78%)
Mutual labels:  genetic-algorithm

Computational Intelligence Tutorial

In this repository, we will cover the material of the Computational Intelligence course which originated in University of Guilan. This repo will demonstrate how you could implement Metaheuristic Algorithms in Python. Therefore, if you are interested in learning the implementation of Metaheuristic Algorithms and understanding them with cool visualization techniques, this is the right place for you. (The goal of making this content was enabling others to learn Metaheuristic Algorithms on their own; therefore, if you can't be present in the class, you can learn all of the material using this repository.)

Prerequisites

Before you start this tutorial, you should know:

  • Python - If you don't know python, but you know how to program, you can learn it in first week of this class.
  • Numpy Library - If you don't know Numpy, you can learn it in first week of this class.
  • Algorithms & Datastructures - If you don't know Algorithms & Datastructures, you can learn it here.

Weekly Content

First Week

  • Python
    • Basic Data Types
    • Containers
    • Functions
    • Classes
  • Numpy
    • Creating Arrays
    • Array Data
    • Reshaping an Array
    • Arithmetic Operations on Arrays
    • Conditional Operators
    • Mathematical and Statistical Functions
    • Array Indexing
    • Iterating
    • Saving and loading

Second Week

First three steps of Implementing Genetic Algorithms :

  • Population Initialization
  • Fitness Calculation
  • Selection Operators
  • Introduction to Knapsack problem
  • How you can create a fake data for Knapsack problem

Third Week

  • Last two steps of implementing the Genetic Algorithms :
    • Crossover
    • Mutation
  • Solving Knapsack problem with Brute Force Algorithm
  • Solving Knapsack problem with Genetic Algorithm
  • Visualization of Genetic Algorithm output

Fourth Week

  • How to find the minimum point of various functions
  • How to represent a floating-point chromosome as a binary chromosome
  • Uniform Mutation (Floating-point representation)
  • Linear Recombination Crossover
  • Genetic Algorithm (Floating-point Representation)
  • 3-D Visualization of every function & its fitness

Fifth Week

  • Full ACO algorithm to find sub-optimal solutions for Travelling Sales Man (TSP) Problem
  • Implementing Three strategies for ACO algorithm including Ant-cycle AS, Ant-density AS, and Ant-quantity AS
  • Designing the visualization of the final route which ACO discovered

Sixth Week

  • Full PSO algorithm to find the minimum point of Rastrigin Function
  • 3-D Visualization of sequential progress of PSO algorithm
  • 2-D Visualization of sequential progress of PSO algorithm

Seventh Week

  • A detailed description of Binary Logistic Regression
  • Full clean implementation of Logistic Regression to discriminate Iris-setosa flower from other types of flowers
  • Visualization of flowers features and the discriminatory line between the features
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].