Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Being Creative with Genetic Algorithms and Typeclasses

Scala Days Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore genetic algorithms and typeclasses in Scala through a hands-on conference talk recorded at Scala Days Berlin 2016. Dive into the power of typeclasses in functional programming, learning how to attach custom interfaces to existing code. Discover the implementation of genetic algorithms in Scala, with a focus on defining problem-specific typeclasses. Gain insights into testing algorithms using ScalaCheck and witness the creation of visual, creative solutions as the genetic algorithm's fitness function evolves. Follow along with REPL examples, covering topics such as custom types, comparators, type classes, crossover techniques, random mutations, and fitness functions. Enhance your understanding of Scala's functional programming capabilities and explore innovative applications in modern art and image comparison.

Syllabus

Introduction
Outline
Where can we start
Creating our own types
Creating our comparator
Martins paper
Skylar
Type classes
Examples
Proposal
Proposed Algorithm
One Idea
Test
Next Double
Marriage
Crossover
Random mutations
Final iteration
Finding the optimal solution
Modern art
Image comparison
Fitness function
Suggestions
References

Taught by

Scala Days Conferences

Reviews

Start your review of Being Creative with Genetic Algorithms and Typeclasses

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.