Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Utopia/dystopia: The good, the bad and the basics of machine learning

keeeto
November 08, 2017

Utopia/dystopia: The good, the bad and the basics of machine learning

A general introduction to AI and machine learning. Describes the difference between ML and and traditional algorithms. Gives and introduction to some of the basic building blocks of ML models. Provides some examples of successful applications. Considers some possible dangers of artificial general intelligence and artificial vertical intelligence.

keeeto

November 08, 2017
Tweet

More Decks by keeeto

Other Decks in Science

Transcript

  1. Utopia/Dystopia The good, the bad and the basics of Machine

    Learning November 2017 Keith T. Butler
  2. • What is machine learning? • What are the applications

    of machine learning? • How can I do machine learning? • What are the dangers of machine learning? Outline
  3. What is machine learning Animals learn from experience Machines are

    programmed Machines learn from experience data
  4. • A type of AI • Learning, without explicit programming

    • Learning on data Machine learning
  5. AI and craft beer http://aiweirdness.com/post/163753995072/craft-beer-names-invented-by-neural-network IPA Amber Stout Dang River

    Frog Trail Ale Cherry Trout Stout Juicy Dripple IPA O'Busty Irish Red The Bopberry Stout Earth Pump Ricias Donkey Brain Barrel Aged Chocolate Milksmoke
  6. Open education Straight into making models Some programming required High-school

    maths Builds from the bottom Teaches Python and data science Coursera – provides Machine Learning course from Stanford More academic and rigorous
  7. The goal of machine learning To generalise beyond the training

    set. Doing well on the training set is easy.
  8. Learning = Representation + Evaluation + Optimisation Learning Representation How

    we represent the knowledge. This also chooses the set of possible classifiers. Hypothesis space. Eg. Neural network, decision tree …
  9. Learning = Representation + Evaluation + Optimisation Learning Evaluation Objective

    function or scoring function. Distinguish good from bad classifiers. NB need not be the same as the external function that the classifier is optimising.
  10. Learning = Representation + Evaluation + Optimisation Learning Optimisation Searches

    between classifiers. Identifies the highest-scoring one. Determines the efficiency of a learner.
  11. Naïve Bayes Cheap Spam Not spam 80% chance that an

    email with the word ‘cheap’ will be spam
  12. Naïve Bayes Cheap Typos Caps title 80 % 60 %

    90 % 99.2 % CHEAP PREGNENCY TEST
  13. Decision tree Age Beard Choice 56 Y 49 N 25

    Y 32 N 38 Y 63 Y Which is a more useful descriptor?
  14. Decision tree Age Beard Choice 56 Y 49 N 25

    Y 32 N 38 Y 63 Y Which is a more useful descriptor?
  15. Decision tree Age Beard Choice 56 Y 49 N 25

    Y 32 N 38 Y 63 Y Age > 45 < 45 Beard? Y N
  16. A consequence of induction No learner can beat random guessing

    over all possible functions to be learned.
  17. Getting a free breakfast! Assumptions Eg. Smoothness, similar examples have

    similar classes etc. Representation choice Eg. If we have a lot of knowledge about the preconditions required by a class, then ‘IF…THEN’ representation may be best.
  18. Problem 2: Fitting Bias Constantly learning the same wrong thing.

    Variance Learn random things irrespective of real values.
  19. • Raw data -> something meaningful • The vast majority

    of ML time is spent here Problem 3: representing features
  20. AGI and the problem of prediction I don't have an

    answer for the obstacles in our way to building human-like robots, because we just don't know enough about how people reason. We haven't figured out the fundamental principles, so I don't think we know what the hurdles are. “But the real future of the laptop computer will remain in the specialized niche markets. Because no matter how inexpensive the machines become, and no matter how sophisticated their software, I still can't imagine the average user taking one along when going fishing.” NY Times 1985 “That the automobile has practically reached the limit of its development is suggested by the fact that during the past year no improvements of a radical nature have been introduced.” Scientific American 1909
  21. Utopia/Dystopia? The Goliath of totalitarianism will be brought down by

    the David of the microchip. Ronald Regan 1989