Skip to content

This repository provides the required files for tutorial 2 (Genetic Algorithm with R) for the course Artificial Intelligence in Finance (ACCFIN5230) | 2022-23

Notifications You must be signed in to change notification settings

hadigilan/GeneticAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AIFinance_genetic_algorithm

This repository provides the required files for tutorial 2 (Genetic Algorithm with R) for the course Artificial Intelligence in Finance (ACCFIN5230), at the Adam Smith Business School, University of Glasgow, 2022-23.

R code

We use the ga function from GA package to implement genetic algorithm in R. We have four examples to show the applications of this package.

Examples

  1. One-dimensional minimization
  2. One-dimensional maximization
  3. Global (absolute) maximum
  4. Two-dimensional optimization (OLS regression with genetic algorithm)

The PwerPoint file

There is a good bibliography along with a short review on the advantages of genetic algorithm.

Reference

Cortez, P. (2021). Modern optimization with R. Second Edition, New York: Springer.

Haupt, R. L., & Haupt, S. E. (2004). Practical genetic algorithms. Second Edition, John Wiley & Sons.

Scrucca, L. (2013). GA: A package for genetic algorithms in R. Journal of Statistical Software, 53, 1-37.

Scrucca, L. (2017). On some extensions to GA package: hybrid optimisation, parallelisation and islands evolution. The R Journal, 9(1), 187-206.

About

This repository provides the required files for tutorial 2 (Genetic Algorithm with R) for the course Artificial Intelligence in Finance (ACCFIN5230) | 2022-23

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages