Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what.

Slides:



Advertisements
Similar presentations
Ali Husseinzadeh Kashan Spring 2010
Advertisements

CS6800 Advanced Theory of Computation
SE2811 Week 7, Class 2 The Gang of Four and more … Lab Thursday: Quiz SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder.
1 The Game of Life Supplement 2. 2 Background The Game of Life was devised by the British mathematician John Horton Conway in More sophisticated.
Design Patterns for Object Oriented systems CSC 515 Ashwin Dandwate.
Design Patterns Yes, they are important Robert Cotton April 23, 2009.
Cellular Automata (Reading: Chapter 10, Complexity: A Guided Tour)
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
Fundamentals of Software Development 1Slide 1 Gang of Four The beginnings… The original “patterns” idea was from architecture – there are repeatable patterns.
James Tam Introduction To Design Patterns You will learn about design techniques that have been successfully applied to different scenarios.
Spring 2010CS 2251 Design Patterns. Spring 2010CS 2252 What is a Design Pattern? "a general reusable solution to a commonly occurring problem in software.
Game of Life Changhyo Yu Game of Life2 Introduction Conway’s Game of Life  Rule Dies if # of alive neighbor cells =< 2 (loneliness) Dies.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Cellular Automata Orit Moskovich
QUIZ. Practice Quiz for roll taking.  Provide the best answer from those shown.
Cellular Automata Avi Swartz 2015 UNC Awards Ceremony.
Genetic Programming.
Genetic Algorithm.
Post-Tonal Music.
Introduction to Genetic Algorithms and Evolutionary Computation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
1 Local search and optimization Local search= use single current state and move to neighboring states. Advantages: –Use very little memory –Find often.
STAT115 STAT225 BIST512 BIO298 - Intro to Computational Biology Python Tutorial II Monty Python, Game of Life and Sequence Alignment Feb 1, 2011 Daniel.
CS 484 – Artificial Intelligence1 Announcements Lab 4 due today, November 8 Homework 8 due Tuesday, November 13 ½ to 1 page description of final project.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
ISP666 MVC & Design Patterns. Outline Review Event Programming Model Model-View-Controller Revisit Simple Calculator Break Design Patterns Exercise.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 27. Review UML dynamic view – State Diagrams.
CS 325: Software Engineering February 12, 2015 Applying Responsibility-Assignment Patterns Design Patterns Situation-Specific Patterns Responsibility-Assignment.
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
Topic 26 Two Dimensional Arrays "Computer Science is a science of abstraction -creating the right model for a problem and devising the appropriate mechanizable.
Cellular Automata. The Game The Game of Life is not your typical computer game. It is a 'cellular automation', and was invented by the Cambridge mathematician.
Parallel Programming 0024 Spring Semester 2010 May 6, 2010.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Fuzzy Genetic Algorithm
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Review of objects  overview overview. Class of objects  Attributes/ methods.
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
1. Genetic Algorithms: An Overview  Objectives - Studying basic principle of GA - Understanding applications in prisoner’s dilemma & sorting network.
Machine Learning A Quick look Sources: Artificial Intelligence – Russell & Norvig Artifical Intelligence - Luger By: Héctor Muñoz-Avila.
Intelligence Musical and Otherwise.  Huh? Huh? Webster’s definition  Intelligence:  The ability to reason.
Patterns Composite Pattern. Patterns All designers use patterns. Patterns in solutions come from patterns in problems. "A pattern is a solution to a problem.
A few of the people involved and what they’ve done.
TRU-COMP3710 Artificial Life and Emergent Behavior1 Course Outline Part I – Introduction to Artificial Intelligence Part II – Classical Artificial Intelligence.
Conway’s Game of Life Jess Barak Game Theory. History Invented by John Conway in 1970 Wanted to simplify problem from 1940s presented by John von Neumann.
Game Programming Patterns From the book by Robert Nystrom
Signatures and Earmarks: Computer Recognition of Patterns in Music By David Cope Presented by Andy Lee.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Design Patterns CSCE 315 – Programming Studio Spring 2013.
Computing & Information Sciences Kansas State University Lecture 42 of 42 CIS 732 Machine Learning & Pattern Recognition Lecture 42 of 42 Genetic Programming.
Artificial Life and Emergent Behavior
Cellular automata.
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
MPCS – Advanced java Programming
Design Patterns Introduction
Introduction to Genetic Algorithm (GA)
Basics of Genetic Algorithms (MidTerm – only in RED material)
Basics of Genetic Algorithms
EE368 Soft Computing Genetic Algorithms.
Artificial Life and Emergent Behavior
Introduction to Design Patterns
Design Patterns Imran Rashid CTO at ManiWeber Technologies.
Composite Design Pattern By Aravind Reddy Patlola.
Presentation transcript:

Scatology

Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what when in!!!!! From what comes out you get a pretty good idea of what when in!!!!!

Allusion in Music

Beethoven and Mozart

Weber and Beethoven

Stravinsky and Lithuania

Stravinsky and Lithuania II

Bruckner and Schubert

Beethoven, Schumann, Liszt, Spohr, and Wagner

Beethoven and Mozart II

Mahler and Handel

Beethoven and Handel

Various composers over time

Ur-motive over 200 years

Berlioz and Haydn

Interesting tune

Source

Chopin’s variation technique

Algorithmic composition

Beethoven

Mozart sources for algo. ex.

Sorcerer output example

What can allusions mean?

Bach’s fugue 4

Bach’s hidden motive

Mendelssohn/Wagner/Mahler

Haydn/Beethoven/Mahler

Finding musical allusions

Intervals work best

Incremental works best

Rhythm matching

Finding allusions Locating repeating patterns Locating repeating patterns Pattern matching a staple of artificial intelligence Pattern matching a staple of artificial intelligence Often called pattern recognition Often called pattern recognition Origins in set theory in mathematics Origins in set theory in mathematics Finding patterns in math can be quite different than finding them in music. Finding patterns in math can be quite different than finding them in music.

Pattern Matching code No user-given pattern No user-given pattern Segmentation (incremental) Segmentation (incremental) Controllers (variables) Controllers (variables) Too wide: noise Too wide: noise Types of variations? Types of variations? Too narrow: no patterns Too narrow: no patterns Self-adjusting?? Self-adjusting??

Types of variations Transposition Transposition Inversion Inversion Retrograde Retrograde Inversion-retrograde Inversion-retrograde Interpolated notes Interpolated notes Excised notes Excised notes Equivalent sets Equivalent sets

Set Theory Pattern matching for contemporary music. Note that many musical/math set processes do not have corresponding counterparts!

Mathematical set theory Set: {45,15,17} Set: {45,15,17} Curly brackets Curly brackets Typically unordered Typically unordered

Mathematical set theory  is an element of  is not an element of  is a proper subset of  is a subset of  is not a subset of  the empty set; a set with no elements  union  intersection

Mathematics and Sets Example of a set proof: A C)C) A  C)  C)

Venn Diagrams help!

Musical set theory Set: [9,3,5] Set: [9,3,5] Brackets Brackets Ordered or unordered Ordered or unordered Modulo 12 (pitch classes) Modulo 12 (pitch classes) Ordered version of above: [9,3,5] Ordered version of above: [9,3,5] Normal (unordered/smallest) version of above [3,5,9] Normal (unordered/smallest) version of above [3,5,9] Prime version (unordered/invertible) of above [0,2,6] Prime version (unordered/invertible) of above [0,2,6]

Music and Sets The same set The same set [0,3,7] [0,3,7] [0,3,7] [0,3,7] [0,3,7] [0,3,7]

The same set

Cellular automata

An example rule set An example rule set 8 possible ways to set upper patterns (2 3 ) 8 possible ways to set upper patterns (2 3 ) 256 possible rule sets (2 8 ) 256 possible rule sets (2 8 ) Follows Steven Wolfram’s model in a New Kind of Science (NKS) Follows Steven Wolfram’s model in a New Kind of Science (NKS)

Sequence of steps Time downward (one dimensional?) Time downward (one dimensional?)

Rule 30

Rule 90

Rule 110

In color Rule 30 Rule 30 Rule 110 Rule 110

More about A New Kind of Science

Conway’s Game of Life

Conway’s Life Rules 1.Any live cell with fewer than two live neighbors dies, as if by loneliness. 1.Any live cell with fewer than two live neighbors dies, as if by loneliness. 2.Any live cell with more than three live neighbors dies, as if by overcrowding. 2.Any live cell with more than three live neighbors dies, as if by overcrowding. 3.Any live cell with two or three live neighbors lives, unchanged, to the next generation. 3.Any live cell with two or three live neighbors lives, unchanged, to the next generation. 4.Any dead cell with exactly three live neighbors comes to life. 4.Any dead cell with exactly three live neighbors comes to life.

Many different patterns Gosper Glider Gun Gosper Glider Gun Diehard Acorn Diehard Acorn

Game of Life Many available programs Many available programs Both on site and downloadable Both on site and downloadable Thousands of named figures Thousands of named figures Many that refigure infinitely Many that refigure infinitely Called two dimensional Called two dimensional

Growth and Diminishment

Genetic Algorithms

Definition computer simulation a computer simulation in which a population of abstract representations (called chromosomes, genotype, or genome) of candidate solutions (called individuals, creatures, or phenotypes) to an optimization problem evolves toward better solutions. Basics A genetic representation of the solution domain, A fitness function to evaluate the solution domain. Along the way crossover and mutation Until a solution is found that satisfies minimum criteria

Genotype and Phenotype

Karl Sims Evolved Virtual Creatures Evolved Virtual Creatures Not an animation Not an animation Evolved objects in motion Evolved objects in motion Encased in various media (water, air, etc.) Encased in various media (water, air, etc.) With gravity With gravity

Evolved Virtual Creatures

Object Oriented Programming Called OOP Called OOP Paradigm change from FP (functional programming) Paradigm change from FP (functional programming) Classes Classes Instances Instances Methods Methods Inheritance Inheritance Encapsulation Encapsulation Abstraction Abstraction Polymorphism Polymorphism

GoF Gang of Four Gang of Four Erich GammaRichard HelmRalph JohnsonJohn Vlissides Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides Erich GammaRichard HelmRalph JohnsonJohn Vlissides Erich Gamma Richard Helm Ralph Johnson John Vlissides Design Patterns: Elements of Reusable Object-Oriented Software Design Patterns: Elements of Reusable Object-Oriented Software Now in its 36th printing Now in its 36th printing 23 classic software design patterns 23 classic software design patterns

CLOS Common Lisp Object System Common Lisp Object System (defclass “name” (inheritance [superclasses]) (defclass “name” (inheritance [superclasses]) (defmethod (defmethod GUI (menus, windows, buttons, etc.) GUI (menus, windows, buttons, etc.) Platform and program dependent Platform and program dependent

Bits and Pieces mapcar mapcar (mapcar #'first '((a 1)(b 2))) = (A B) Loop Loop (loop for event in ‘(( )( )) (loop for event in ‘(( )( )) collect (second event)) collect (second event)) = (60 62) = (60 62) setf (simple object system) setf (simple object system) ? (setq x 'b) B ? (setf (get 'color x) 'blue) BLUE ? (get 'color x) BLUE

Assignment Read Chapter 4 of CMMC Read Chapter 4 of CMMC Begin work in earnest on your final project Begin work in earnest on your final project Get all past homework in or else!! Get all past homework in or else!! Enjoy life, you only get so much time. Enjoy life, you only get so much time.