Being Creative with Genetic Algorithms and Typeclasses
Offered By: Scala Days Conferences via YouTube
Course Description
Overview
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
Related Courses
Teaching Domain Specific Languages in ScalaScala Days Conferences via YouTube Why Dolly Is Just the Beginning for Open LLM Models
Scala Days Conferences via YouTube Building Billion Node Graphs for Machine Learning
Scala Days Conferences via YouTube How Does Incremental Compilation Work with Scala 3
Scala Days Conferences via YouTube AI Assisted Development
Scala Days Conferences via YouTube