🎶The AI Sees When You're Key Mashing🎶

Поділитися
Вставка
  • Опубліковано 25 сер 2024

КОМЕНТАРІ • 1 тис.

  • @PurpleCoin7777
    @PurpleCoin7777 7 років тому +190

    I died at Swahili screaming the loudest

  • @scprivat9519
    @scprivat9519 7 років тому +444

    There is a problem with the German text, the official conversion of special characters is:
    Ä = AE
    Ö = OE
    Ü = UE
    ß = ss
    But you used
    Ä = A
    Ö = O
    Ü = U
    ß = ss

    • @nicolasmalamug1291
      @nicolasmalamug1291 7 років тому +28

      Actually, new grammar rules in German say that the Eszett can be replaced with ss. However, ü must be replaced with ue.

    • @HiiragiTia
      @HiiragiTia 7 років тому +26

      No! The ß cannot easily replaced with SS. Only if the vowel of a word before ß is fast/short spoken it got replaced with ss and the word as a whole is written in capitals, the SS is used. There is technically a capital for ß, but nobody uses it. There are many words you have to write with ß

    • @feralcatgirl
      @feralcatgirl 7 років тому +33

      +HiiragiTia but when the ß character is not available for whatever reason (as in this video), the preferred replacement is indeed ss

    • @scprivat9519
      @scprivat9519 7 років тому +10

      Syzygy314159 When available never replace the ß, only if you can't type it you are allowed to replace

    • @feralcatgirl
      @feralcatgirl 7 років тому +6

      Cookie Builder an excessively strict interpretation. you use ss instead of ß in crosswords for example, and there's nothing technically barring you from writing it there

  • @niko9023
    @niko9023 7 років тому +460

    Unexpected Screaming Swahili

    • @niko9023
      @niko9023 7 років тому +13

      cpase
      a wild siiva fan
      i must be wary
      lest i accidentally make a high quality rip joke
      oh well off to see my grand dad
      ARGH

    • @b3kstudio
      @b3kstudio 7 років тому +2

      Wonder if Todokete is more LOUD or Japanese...

    • @heavyweaponsgaming
      @heavyweaponsgaming 7 років тому +3

      uuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUuaghh...hhhUUUAAAAAAAAAaaghhhahahahahh.... hUUUUUUUUGHgh

    • @ianthecuber2166
      @ianthecuber2166 7 років тому +2

      Niko Baby I died laughing at that part

    • @fluent_styles6720
      @fluent_styles6720 7 років тому

      Cube_Splitter I know, right?

  • @giod4713
    @giod4713 7 років тому +324

    'You guys seemed to like the boredom repellent last time, so here's more' CARY I SWEAR TO GOD

    • @matthewlewiscomposer
      @matthewlewiscomposer 7 років тому +30

      Gio D | Ikr. The only reason we're here is because it's interesting.

    • @doeball2763
      @doeball2763 7 років тому +2

      Same profile pics

    • @talip9174
      @talip9174 7 років тому +1

      Gio D I love your avatar

    • @giod4713
      @giod4713 7 років тому +4

      Thanks, it used to be link (Twilight Princess) Put I changed it to this to match my other profile pics.

    • @jabbahammahummus2887
      @jabbahammahummus2887 7 років тому +4

      Ah, the pain in the ass wich are the Numbers on Google Keyboard. Also im dissapointed with your new Profile Pic. Zelda's better.

  • @turun_ambartanen
    @turun_ambartanen 7 років тому +226

    5:40
    the reason it guessed "cassidy" is japanese is because it is definitely not a german word!

  • @MeesterTweester
    @MeesterTweester 7 років тому +27

    This is a weird episode of TWOW 20B.

    • @weakw1ll
      @weakw1ll 7 років тому

      Meester Tweester yeah... something seems off...:/

  • @tgamagedon
    @tgamagedon 7 років тому +16

    I can't believe, that despite a 90% accuracy, the machine predicted, that yoyle would be german, when german is almost void of Ys.

    • @MarcsBianchini
      @MarcsBianchini 7 років тому +20

      tgamagedon to be fare there is no letter L in Japanese.

    • @kikones34
      @kikones34 7 років тому

      The japanese R does get romanized as L sometimes though, specially in foreign words where L was the original letter (e.g. laifu, lakki, littoru...)

    • @medicalofficermedkip8141
      @medicalofficermedkip8141 7 років тому

      kikones34 there are no consonant clusters though (excluding "n" coming before other consonants occasionally.)

  • @jackwuchannel
    @jackwuchannel 5 років тому +25

    Japanese: (Is good at screaming)
    Swahili: *I'm about to end this whole man's career*

    • @nameless4637
      @nameless4637 Рік тому

      A little racist, but I get what your trying to say

  • @blueboired6135
    @blueboired6135 7 років тому +21

    Letting it run on all 12 languages w/o any restraints like letter length for like 2 days even could make a good video just sayin

  • @modprog
    @modprog 7 років тому +151

    None of the Words predicted as German beeing Japanese looked any German from a German perspective.

    • @modprog
      @modprog 7 років тому +12

      espesally yoyle witch makes the confidence of 85% questionable ;D

    • @carykh
      @carykh  7 років тому +19

      Well, the alternative is to call "Yoyle" Japanese, which I think justifies the 85% confidence. Also, realize that all German words are stripped of their accents, so they're only using the basic 26 letters.

    • @modprog
      @modprog 7 років тому +6

      well using öäüß would be quite a give away.

    • @Skrelpoid
      @Skrelpoid 7 років тому +15

      carykh the weird thing is, the letter y is almost never used in german

    • @carykh
      @carykh  7 років тому +12

      ...and it appears like it's used a lot in Japanese. I guess this project didn't work as well as I thought it would.

  • @danl9030
    @danl9030 7 років тому +7

    One of the test words for Dutch at about 15:16 is Hewlett-Packard. (It's easier to see if you go at 1/4 speed)

  • @neoqueto
    @neoqueto 7 років тому +29

    do the experiment on yourself, guess which language it is for 200 words and compare the results to see if you can beat the network in a 200 iteration run.

  • @ihateyourvideos.3985
    @ihateyourvideos.3985 7 років тому +68

    keep it up man, love your videos.

  • @moth.monster
    @moth.monster 7 років тому +39

    *screams in Swahili*

  • @marcorennmaus
    @marcorennmaus 7 років тому +15

    6:35 No love for german letters, horen is actually hören

  • @Smittel
    @Smittel 7 років тому +30

    Cassidy is english. Even if its a name its an english name. A 'y' at the end is not only uncommon, but extremely rare. I cant even think of a german word that ends with y...

    • @Smittel
      @Smittel 7 років тому +16

      I checked it: the only words with y at the ends are words taken from english

  • @letsplayboys1522
    @letsplayboys1522 7 років тому +17

    Make a "Word Maker" so a reverse algorithm

  • @galiantus1354
    @galiantus1354 7 років тому +7

    Cary, you should derive the step size from an equation where the input is the % of the last 200 correct and the output is the step size. That way the machine can make more improvement early on, then make teeny tiny adjustments as it becomes better, and it is far less likely to over correct.

  • @dynaboyjl.4220
    @dynaboyjl.4220 7 років тому +130

    this is better than TWOW

  • @tearlach47
    @tearlach47 7 років тому +5

    I can't wait to see the results of all 12 "languages" (Since Random and Key Mashing aren't really languages...) running overnight!
    WAIT
    𝓦𝓱𝓪𝓽 𝓲𝓯 𝔂𝓸𝓾 𝓵𝓲𝓿𝓮𝓼𝓽𝓻𝓮𝓪𝓶𝓮𝓭 𝓲𝓽???

  • @dbhlnn
    @dbhlnn 7 років тому +31

    if you can't write german vowel mutations like äöü you have to rewrite them as:
    ä (pronounced "e" as in "_e_nemy") = ae
    ö (pronounced like "e" as in "her") = oe
    ü (pronounced like "ee" as in "see" with rounded lips) = ue
    so words like "nächste" become "naechste" rather than "nachste" which doesn't mean anything

  • @thomilo44
    @thomilo44 7 років тому +23

    Fyi, 'entertainment' is also a Dutch word, so the net was corret, not just close.

  • @EpicGamer-te6cm
    @EpicGamer-te6cm 7 років тому +46

    🎶The AI Sees When You're Key Mashing🎶
    🎶It knows when you're awake🎶
    🎶It knows if you've been rand or not🎶
    🎶So be rand for SkyNet's sake.🎶

    • @rebeccaangeles7310
      @rebeccaangeles7310 2 роки тому +1

      What _is_ "rand"? 🤔
      -emily

    • @EpicGamer-te6cm
      @EpicGamer-te6cm 2 роки тому

      @@rebeccaangeles7310 hey are you single, i got a friend named cole thats looking for an (over 18 years or age) girlfriend

    • @foxfoxy5490
      @foxfoxy5490 2 роки тому

      @@EpicGamer-te6cm who asked

    • @EpicGamer-te6cm
      @EpicGamer-te6cm 2 роки тому

      @@foxfoxy5490 me, I am asking her

  • @MiningSolo
    @MiningSolo 7 років тому +50

    Do your peers or professors know about your channel?

    • @carykh
      @carykh  7 років тому +58

      They do not! Perhaps I'll tell them at some point, but only once my projects become worthy of those sacred eyes

    • @AlexanderWongSaysHi
      @AlexanderWongSaysHi 7 років тому +15

      I wouldn't be surprised if they know :) Your videos are great!

    • @darkf1gure1
      @darkf1gure1 7 років тому

      yo perhaps i missed it, but did you explain elsewhere how the confidence for any output is generated?

    • @LaomerKedor
      @LaomerKedor 7 років тому +4

      they already detected you with a neural network and your test answers as training data.

    • @arcuesfanatic
      @arcuesfanatic 7 років тому

      Basically, the neural network runs the calculations, and outputs something between 0 and 1 for each option. The closer an output is to 1, the higher confidence it has. The program then checks all outputs, and reads out the one with the highest confidence.

  • @phoenixdblack
    @phoenixdblack 7 років тому +134

    Actually it's "hören" not "horen" - and you really should take out "cassidy" from the german list. It's neither a word nor a common name.

    • @neochrome8088
      @neochrome8088 7 років тому +4

      indeed

    • @neochrome8088
      @neochrome8088 7 років тому +5

      doesn't mean nothing in german, sound more like a name

    • @linuxgeek64
      @linuxgeek64 7 років тому +4

      congrats, you found one person of millions

    • @phoenixdblack
      @phoenixdblack 7 років тому +8

      MEGACORP Domain I've made a search for you. There are about 15 People in Germany named Cassidy and none of them is born here.

    • @johan_r59
      @johan_r59 7 років тому +2

      Phoenix D. Black - König der miserablen Wortwitze Horen is dutch (means the same as in german)

  • @Zahlenteufel1
    @Zahlenteufel1 7 років тому +24

    Cassidy?!?? Not a german word! Maybe a name? Pretty sure it's Englisch tho...

    • @the-thane
      @the-thane 7 років тому +2

      It's Gaelic.

    • @malte291
      @malte291 7 років тому +10

      German detected.
      confidence: 100%

  • @Gamesaucer
    @Gamesaucer 7 років тому +4

    As a hobby-linguist and a programmer these videos interest me highly. This is pretty neat!

  • @MrMKFreak
    @MrMKFreak 7 років тому +8

    It has a confidence in blank being swahili because your swahili database has blank spaces between some words..

  • @15Redstones
    @15Redstones 7 років тому +9

    "waren" is also a german word, so german wouldn't have been wrong.

  • @darcgibson5099
    @darcgibson5099 7 років тому +10

    I saw this video in my sidebar and thought this might be an interesting thing to bring up: Remember when Skype used to have the little "typing" animation? (It might still do...) Well, they had an animation specifically for when you key-mashed that was a cat walking across a keyboard as opposed to the usual human-typing animation. So essentially it could work out when your cat was walking across the keyboard...

    • @matt123337
      @matt123337 7 років тому +2

      Darc Gibson AFAIK it would keep a running average of time between keypresses, and if it were to drastically shorten it would assume you were key mashing

    • @hecko-yes
      @hecko-yes 7 років тому

      I remember there was an app locking the screen when it detected a cat walking across the keyboard.

    • @mysteryman7877
      @mysteryman7877 7 років тому

      Darc Gibson have you ever had a guinea pig walk across your keyboard? It's the same problem, but you can do something about it!

  • @justin9571
    @justin9571 7 років тому +19

    Since suffixes are more telling about a language why not reverse the word so that suffixes will always sit on the same node

    • @helifalic
      @helifalic 7 років тому +2

      Great idea. Easy to code and could have a significant effect.

    • @Slada1
      @Slada1 7 років тому

      Good idea

    • @themasterunknown
      @themasterunknown 7 років тому

      Genius

    • @justin9571
      @justin9571 7 років тому

      ***** Would be interesting. No idea how to actually create such a thing in reality, i'm pretty new to this stuff.

  • @jordanzish
    @jordanzish 7 років тому +1

    I would just like to say that as a viewer who came across your channel for the machine learning stuff, TWOW seems really awesome and I'm super excited to follow season 2.

  • @HBMmaster
    @HBMmaster 7 років тому +68

    I'm a linguist, and "key mash so good" is correct

    • @Ambipie
      @Ambipie 6 років тому +8

      Conlang Critic You key mash so well
      Is correct too

    • @tastebuds.9269
      @tastebuds.9269 6 років тому +4

      what that makes you is a fraud.

    • @iqbaltrojan
      @iqbaltrojan 6 років тому

      And you forgot a period.

    • @mildredlopez7636
      @mildredlopez7636 4 роки тому

      OMG!!!!!

  • @Deadonstick
    @Deadonstick 7 років тому +3

    Have you considered making the step size larger and smaller depending on HOW wrong the neural net is? So it being 90 percent sure of something it's guessed wrong would yield a larger adjustment than barely being sure at all.
    This might increase the accuracy of the algorithm without having to drastically change the net.

  • @robertvanderlelie2312
    @robertvanderlelie2312 7 років тому +69

    Make a download so we can mess around :)

    • @carykh
      @carykh  7 років тому +10

      It's right here! Though some people have told me it doesn't work...
      drive.google.com/drive/folders/0B98DkR2AsGZaTnQ1aUFILU85VTg?pageId=100617964454119728920

    • @LivingHeadstrong
      @LivingHeadstrong 7 років тому +3

      In order to make it work I copied and pasted the brain code into the neuralnetworklanguagedetection code. Then I had to disable the font (for some reason it wouldn't allow the font). Any amount of languages less than 3 worked, but over there would be an error reading a string eventually.

    • @robertvanderlelie2312
      @robertvanderlelie2312 7 років тому

      Thanks i will try

    • @robertvanderlelie2312
      @robertvanderlelie2312 7 років тому +1

      Can you also provide the wordlists? Or am I missing something carykh

    • @LivingHeadstrong
      @LivingHeadstrong 7 років тому +1

      word lists are in the data folder

  • @23kcarlson
    @23kcarlson 7 років тому +1

    17:45 adding the 'o' made its confidence in spanish go up 10% though

  • @ShadowriverUB
    @ShadowriverUB 7 років тому +32

    Detect language based on sentences is a lot more effective, because there lot of word collisions between languages and gramma patterns are a lot easier to pick up the sequences of letters. Japanese have specific set of silabels so Japanese can be easily dismissed if invalid set of letters occurs, like "FT" in word "AUFTRAG", also japanese words will always with vowel or letter "N" because of that, this is pattern that your neural network should pick up

    • @lazergurka-smerlin6561
      @lazergurka-smerlin6561 7 років тому +5

      Shhhh... Cary is too lazy.

    • @DuringDark
      @DuringDark 7 років тому

      Uh... What's a silabel?

    • @KITATUS
      @KITATUS 7 років тому

      Oh look, it's a wild Shadowriver :P

    • @ShadowriverUB
      @ShadowriverUB 7 років тому

      KITATUS lol

    • @izikblu
      @izikblu 6 років тому

      >...japanese words will always with vowel or letter "N"
      for whoever reads this in the future: Japanese words actually can start with (almost) any Japanese syllable (some of which start with consonants) except N :p
      but after a consonant is always either
      * the same consonant (tt for example)
      * y (ry for example)
      * s or h (for ts(u) and ch respectively)
      and all syllables end with a vowel (or are N)

  • @MikeFizzyD
    @MikeFizzyD 7 років тому +4

    Use the neural network as a fitness function to generate words for specific languages with a genetic algorithm.

    • @linuxgeek64
      @linuxgeek64 7 років тому

      github.com/karpathy/char-rnn
      github.com/shariq/burgundy

  • @noobsdaestrategia
    @noobsdaestrategia 7 років тому

    Don't stop your channel!
    It is the best that i have ever seen!
    It's amazing to meet a person with the same interests as me!
    (I'm Brazilian so don't worry about my mistakes)

  • @floodedbasement__
    @floodedbasement__ 3 роки тому +1

    *"You thought you could just throw away all the parts of human life that was just too much stress on your poor little body, but you couldn't and those human urges stuck with you. They are there forever and you can never escape.- oh and look at that the prediction rate if over 80% now!"*

  • @ioannishussein8038
    @ioannishussein8038 7 років тому +5

    Keep it up, Cary! Love your videos!

  • @jackofallspades98
    @jackofallspades98 7 років тому +224

    Cary, can you QUIT with the Boredom Repellant™ please? Anybody watching your videos is certainly not the kind of person to be bored by the things you talk about. Instead, the Boredom Repellant™ just becomes more of a distraction. 😱

  • @Xerangelo
    @Xerangelo 7 років тому +1

    For shorter words you could try to vary the starting position of the words in the 15input nodes, to prevent biasing of shorter vs longer words. This way the lower nodes in the hidden layer can also be updated more regularly

  • @Huntracony
    @Huntracony 7 років тому +2

    'Waren' means 'goods' or the past tense of 'where', which is a more common usage so most Dutch people probably thought of that meaning without any context. Also, there are multiple dutch words with three e's in a row, so I'm not surprised. Except the Dutch e is pronounced more often as the English a, so take from that what you want.

  • @voxelfusion9894
    @voxelfusion9894 7 років тому +6

    well, if you used the umlaute, it would have been easier ;) hören would stand out right away.

  • @goldenrush257
    @goldenrush257 5 років тому +3

    “We have the Swahili people going AAAAA”
    “The Dutch people going EEEEE”
    “The Spanish people going OOOOO”
    (And the racist people going “Hi guys, Carykh here”)

  • @CosmiaNebula
    @CosmiaNebula 7 років тому

    I suggest an easy way to immediately see the keymash pattern: Try it on Dvorak keyboard.
    I'll do a keymash, on a Dvorak keyboard:
    ha,ktboesu;itnhaucra,.
    etkuta,hr,ac.uhasntoeuh
    uchatnueobtuauhcr,a.uhcr
    See how much pattern it has? The qwerty keyboard keymash has just as much pattern as a Dvorak keyboard pattern. The middle row is used a lot more often, and some letters often appear close to each other, and it often alternates between left hand keys and right hand keys.
    It's just that on Dvorak, the left middle row is all vowels and the right middle row is all the most common consonants, so the pattern is immediately clear because the keymash is almost English-like.
    Now you can see the Dvorak pattern clearly because it fits the English pattern. For the network it's as clear as the qwerty pattern (since it doesn't know English, it can see one pattern as easily as the other), so it has no problem seeing that.

  • @bribri9392
    @bribri9392 7 років тому

    I like how you can still tell it's you even through the voice effects.

  • @fanatickerhoch3
    @fanatickerhoch3 7 років тому +13

    cassidy is not a german word :D

  • @mauricioheller9379
    @mauricioheller9379 7 років тому +4

    Is it too crazy to flip the order of letters before it enters the neural net?
    I mean, since every language has words beginning with all the letters of the alphabet the ending of a word is probably more representative of a certain language than the letter it begins with.
    It would be a fair improvement in the results with so little effort.
    Great job, anyway!
    (PD. I know nothing about neural nets, I'm just thinking out loud)

  • @SezzesStuff
    @SezzesStuff 7 років тому +1

    Wow, I love these kinds of videos quite a bit more than the TWOW stuff, so I'm surprised more people wanted TWOW

  • @ThatBiohazardGuy
    @ThatBiohazardGuy 7 років тому

    Im very thankful that you provide the source code in the description, i dont have the skill or knowledge to program this myself, but would like to do some experimenting, thank you so much

  • @noelearlwatson2724
    @noelearlwatson2724 7 років тому +11

    Can you do processing tutorials on machine learning in the future?

    • @carykh
      @carykh  7 років тому +10

      Yeah, I could do that! The only problem is that Processing isn't designed for machine learning, so the code I wrote is slower and clunkier than it could be. I made this project as a teaching experience to myself how machine learning worked.

  • @alexandrutonita736
    @alexandrutonita736 7 років тому +8

    6:28 It's actually written 'hören'. Ö replaces 'oe'

    • @alexandrutonita736
      @alexandrutonita736 7 років тому +1

      Zum Glück gibt es ö

    • @modprog
      @modprog 7 років тому +1

      Using äöüß would be quite a give away and also making the Code more complex as he'd need to add every letter with an accent on top of the 26 existing ones.

    • @alexandrutonita736
      @alexandrutonita736 7 років тому

      That's true, I just wanted to point it out.

    • @livedandletdie
      @livedandletdie 7 років тому +1

      Actually, he wouldn't need to...
      His system could take in the entire Unicode lexicon...
      He does after all have 26 inputs per node. All he really would need to do is translate each symbol to binary through the Unicode codex.
      The function is already there, he just need to add the index for the characters to the software.

    • @modprog
      @modprog 7 років тому

      The Major but with the curtent system it would make the code bigger.

  • @matthewlewiscomposer
    @matthewlewiscomposer 7 років тому +1

    I love the machine videos much more than the others

  • @izaicslinux6961
    @izaicslinux6961 7 років тому

    I have little understanding in this, but I'm thrilled by your videos, and it's inspiring me to go mess with cool projects including nural networking

  • @00iCon
    @00iCon 7 років тому +3

    ADD ANOTHER LAYER!!!!
    More complex patterns should easily be picked up like Japanese is mostly combinations of syllables, and suffix -ness would be picked up no matter where it is.

  • @maksuree
    @maksuree 7 років тому +3

    was expecting bill wurtz style weirdness :(

  • @btqbct5540
    @btqbct5540 7 років тому +1

    The Swahili confidence was probably from the spaces in the data set

  • @nameless4637
    @nameless4637 Рік тому

    Its so satisfing watching your AI training montages, I wish I knew enough python to make my own AI also, I am so surprised that you actually recognised Esperanto as a langugage hurray.

  • @modprog
    @modprog 7 років тому +5

    Funfakt Waren is a German word meaning goods same in Dutch quite similar languages i supose;D

    • @ralph7349
      @ralph7349 7 років тому

      Waren is were in dutch too

    • @noahiscool9002
      @noahiscool9002 7 років тому

      wow yes, i didnt even realise that it also meant goods! :)

    • @TheXenoNeon
      @TheXenoNeon 7 років тому

      in German for 1. person plural aswell

    • @modprog
      @modprog 7 років тому

      TheXenonXe German and Dutch have the same origin.

    • @johannesh7610
      @johannesh7610 5 років тому

      Plot twist, it was wären😜

  • @Gamesaucer
    @Gamesaucer 7 років тому +21

    By the way, I think you'll have MUCH better results if you did this by syllable instead of by letter.

    • @SirCutRy
      @SirCutRy 7 років тому +2

      +Gamesaucer How would you detect syllables?

    • @bnetforce10
      @bnetforce10 7 років тому +6

      +SirCutRy The answer is obvious isn't it?: A neural network!

    • @SirCutRy
      @SirCutRy 7 років тому +6

      netforce 10 Nooooo, it's turtles all the way down

    • @Gamesaucer
      @Gamesaucer 7 років тому

      SirCutRy No, I mean that you enter syllables instead of letters.So you yourself would be the one to detect them.

    • @SirCutRy
      @SirCutRy 7 років тому +1

      Gamesaucer There are thousands of words for every language.

  • @TheArtikae
    @TheArtikae 7 років тому +1

    Just got an add for "Grammarly" GOOGLE KNOWS

  • @BigOlSmellyFlashlight
    @BigOlSmellyFlashlight 7 років тому

    So that's why talk-talk-mashble was open

  • @LESLEYYY0
    @LESLEYYY0 7 років тому +5

    I'm really interested in AI, neural networks and deep learning, any suggestions where I can start? (I'm a programmer already)

    • @Nerdule
      @Nerdule 7 років тому +5

      First of all, there's some *fantastic* higher-level frameworks that you can use to make constructing and training neural networks much easier. I use Keras, which is a Python-based framework that runs on top of TensorFlow or Theano (other frameworks for accelerating the kind of mathematical calculations used in neural networks.) It's very easy to use! Go here for info, including links to the actual site and docs: github.com/fchollet/keras-resources
      Second of all, check out these articles - they're good introductions (Especially Karpathy's!), and interesting in their own right:
      karpathy.github.io/2015/05/21/rnn-effectiveness/ (A good introduction to RNNs, and also super super cool)
      karpathy.github.io/neuralnets/
      adeshpande3.github.io/A-Beginner's-Guide-To-Understanding-Convolutional-Neural-Networks/
      colah.github.io/posts/2014-07-Conv-Nets-Modular/
      karpathy.github.io/2016/05/31/rl/ (Learning to play Pong from *raw pixels*!)
      Third, install whatever deep-learning framework works for you (I recommend Keras), and just start slapping layers together and seeing if something cool happens. Maybe write a MNIST classifier first, that's like the 'Hello World' of deep learning.
      Oh, and here's some great blogs -
      blog.otoro.net/ (Messing about with neural networks to do Cool Stuff for fun and art)
      karpathy.github.io/ (Not many posts, but a fantastic explainer - check out the Deep Reinforcement Learning article)
      colah.github.io/
      And the r/MachineLearning subreddit is good for discussion and interesting new papers.

    • @LESLEYYY0
      @LESLEYYY0 7 років тому +1

      Eldritch Wow, thanks a lot for getting me started on this, I really appreciate that amount of information.

  • @macmarc6661
    @macmarc6661 7 років тому +6

    I think the NN would perform much better, if you and more layers to it. Then it takes longer to learn, but it will better understand the rules of languages.

    • @programaths
      @programaths 7 років тому

      The beauty is achieving something complex with simplest means.

  • @Dylankatz
    @Dylankatz 7 років тому

    These videos are hilarious.... I love that someone's using ANNs in a humorous way.

  • @lavenderinthedark
    @lavenderinthedark 7 років тому

    I love the Boredom Repellant, it works every time! I think every channel should use it.

  • @msepic5912
    @msepic5912 7 років тому +4

    Keep it up, love learning more about neural networks from your vids. One small question I have though, is the source code for your math evolution simulator on the Internet?

    • @carykh
      @carykh  7 років тому +4

      Thanks! Also, I think this might be what you're talking about: www.openprocessing.org/sketch/377698

    • @OrangeC7
      @OrangeC7 7 років тому

      Cary, did you know that you can reverse the neural network? aka You can make it produce words that it thinks are a certain language! (I'm not sure how to though, so you'll have to look up how. :\ ) I just know that it's possible to do it.

    • @msepic5912
      @msepic5912 7 років тому

      Thanks! This is exactly what I was looking for :)

    • @Nerdule
      @Nerdule 7 років тому

      The same way you train it, actually! Instead of finding the gradient of the connection weights with respect to the output, you can find the gradient of the *inputs* with respect to the output, and use gradient descent to optimize the input with respect to how german the network thinks it is.
      The way the input is structured, though - as one-hot vector encodings, where each character is equivalent to one of the nodes being on and all others off - would be very poorly suited to this, however, since I think you'd be incredibly unlikely to end up with anything close to a valid character.
      But that's how things like DeepDream and neural style transfer work - you back-propagate the gradients all the way through the network to find the derivative of the inputs with respect to the output, and optimize the input image to correspond to the desired output activations. (Style transfer - which lets you take photographs and classical paintings and wind up with selfies painted in the style of Starry Night - works by optimizing the target image, as seen by an image-recognition network, on two different levels - you try to match it to the low-level colors-and-textures features of the style image as seen by the earlier layers of the neural net, and the high-level abstract-content-and-semantics features of the source image. )

    • @OrangeC7
      @OrangeC7 7 років тому

      Cool! That was a little hard to understand (for me at least), but after reading it a few times, I get what you mean!

  • @einarcederlund9381
    @einarcederlund9381 7 років тому +3

    i don't think the computer recognized the key mash butt rather the pattern of the random generator

  • @someguyeban
    @someguyeban 6 років тому +1

    BUY OUR BOREDOM REPPELENT NOW! ITS A GLASS PANE WITH A ZOOMING IN FRACTAL!!

  • @SlightlyFizzled
    @SlightlyFizzled 7 років тому +1

    With the exceptions of n/m and sh, Japanese typically follows an alternating consonant to vowel structure. This is something that human readers would be able to pick up on pretty quickly, but your algorithm is incapable of seeing patterns like that.

  • @BlackXxScopez
    @BlackXxScopez 7 років тому +43

    I hate TWOW, I watch everything BUT twow on your channel.

  • @ioannishussein8038
    @ioannishussein8038 7 років тому +4

    This new TWOW episode is weird.

  • @SkyCharger001
    @SkyCharger001 6 років тому

    Keymash has a pseudo-structure derived from the used keyboard's layout, while random has a different structure (that sometimes produces a word in the former's 'dictionary').

  • @WeAreGRID
    @WeAreGRID 7 років тому +1

    keymash and random will of course be completely different, because random will be exactly that, random, with no discernable letter pattern. Out of a near infinite series of 1-15 letter "words" that are randomly selected, all the letters will come up about equally, meaning no discernable pattern.
    your neural net says that if x letter is in y position then it is more likely to be z language, and multiple neurons come together to point to one language, so it can tell from sequential letter patterns, where the same letters arise in the same places, which is more likely.
    keymash is actually a language, letters that are closer together will be more likely to be pressed, so while its not consciously understanding that, it is more likely that thbvf will come before or after a g than z would.
    of course im a spatial reasoner so it would make sense that i would immediately understand the spatial groupings of sequential letter combinations in a synapse network.

    • @WeAreGRID
      @WeAreGRID 7 років тому

      also, i apparently paused the video exactly one second before you talked about letter groupings being more likely.

  • @antvenoms0cool
    @antvenoms0cool 7 років тому +10

    where is download?

    • @flowerperson581
      @flowerperson581 7 років тому +1

      jjbinks2 it isn't.

    • @carykh
      @carykh  7 років тому +18

      I just posted it online, it's here!
      drive.google.com/drive/folders/0B98DkR2AsGZaTnQ1aUFILU85VTg?usp=sharing
      Read the readme though.

  • @fejfo6559
    @fejfo6559 7 років тому +5

    I'm dutch and I can't really come up with any words ending in "ment".

    • @Nina-nh6kp
      @Nina-nh6kp 7 років тому +2

      rendement

    • @fejfo6559
      @fejfo6559 7 років тому +1

      ***** mentos

    • @fejfo6559
      @fejfo6559 7 років тому

      ***** I don't really care where he considers a brand-name a word. I'm not even sure I consider a brand-name a word.

    • @fejfo6559
      @fejfo6559 7 років тому +1

      ***** ow ofcourse

    • @SianaGearz
      @SianaGearz 7 років тому

      Probably on loan from the French.

  • @starcubey
    @starcubey 7 років тому

    key mash rarely has 2 letters next to each other making it a good way of ditinguishing them

  • @alasyon
    @alasyon 7 років тому

    Laughed my head off at the crazy Swahili moment!
    Another brilliant video 👍

  • @Andyman620
    @Andyman620 7 років тому +4

    after seeing this, I got thinking. what if someone made a bot that could be taught to beat bfdia 5b levels using the same method as this. so it could then be able to beat levels it hasn't seen before.
    the only problem is there arent enough levels for it to be able to learn. *wink* *wink*.
    but seriously, do you think this might be possible?

    • @giod4713
      @giod4713 7 років тому +2

      It is possible! See sethbling's video of MARI/O

  • @suscactus420
    @suscactus420 7 років тому +6

    am i the only one here that didn't understand anything in that video and got it in my recommended list?

    • @Castodas
      @Castodas 7 років тому

      No. I have no idea what is going on in this video... All I saw was, "AI Sees when you're key mashing." Not sure what the relation is here. What AI? and what is being taught languages? Why is it being taught languages? Why is this significant? Is this one of those games based around being a programmer? Is this a game at all? Why was there a cube bouncing balls on its top surface and suggested it was juggling issues?

    • @GameFreak7744
      @GameFreak7744 7 років тому

      His AI. He wrote a neural network (which is a type of AI) designed to distinguish between words from different languages.
      As for the other stuff... Yeah I'm still trying to work that out as well. xD
      (As a side note I ended up on this video from the first part, which I ended up on from a video on the Unity engine....)

    • @suscactus420
      @suscactus420 7 років тому +1

      alright guys, thanks for the replies. you're awesome :D

  •  7 років тому

    "...and you can never escapeee....... Oh, look at that!"

  • @kopanvezer
    @kopanvezer 5 років тому +1

    You can remake Captcha by telling people to mash their keyboards and then tell the difference between random generated and mash :D

  • @jommydavi2197
    @jommydavi2197 7 років тому +14

    What is this and why is it recommended to me?

  • @MuzikBike
    @MuzikBike 7 років тому +8

    Do you still accept key mashes?

    • @anonymouse6779
      @anonymouse6779 7 років тому

      no

    • @bolgeg6191
      @bolgeg6191 7 років тому

      iruyhtiouwvyrhweyo9cqmorcwiungchp9amorogqywea?

    • @MuzikBike
      @MuzikBike 7 років тому

      Bolgêg indeed.

    • @SianaGearz
      @SianaGearz 7 років тому

      I don't know, can you tell a key mash from an average UA-cam comment? Perhaps he still does, he just doesn't know it yet.

    • @bruhdabones
      @bruhdabones 6 років тому

      Ndndhwhiasbbakaosbfbfvejsknsnsnd

  • @SnowyTotodile
    @SnowyTotodile 7 років тому

    That site does have a random password generator and random string generator which generate random letter strings, if you were wondering.

  • @_jelle
    @_jelle 7 років тому

    17:02 fun fact: the letter E is the most commonly used letter in dutch, and this fact was even used to break a code once.

  • @Coco2264
    @Coco2264 7 років тому +3

    what is TWOW?

    • @hecko-yes
      @hecko-yes 7 років тому +4

      Ten Words Of Wisdom, carykh's (ir)regular series.

  • @jimlahey4995
    @jimlahey4995 7 років тому +3

    So cringey "the neural network can talk"

  • @UKMLGgaming
    @UKMLGgaming 7 років тому

    A book called "Predicting the unpredictable" has a good chapter on it about random strings of numbers. When creating 'random' numbers, each number does not have an equal chance of being picked, as you would expect if it was random. For instance, if you are picking two digits, '37' is more likely from a human than '66' (or another number were both digits are equal), as people believe they shouldn't repeat digits yet it has an equal chance of being picked randomly. When writing out large strings (100+ digits) people tend to repeat certain strings (eg '6482') much more often than should appear. This kind of demonstrates how terrible the brain is at creating random numbers.
    I think the same can be applied to the key mash/random, where, like Cary said, letters close together are much more likely. I would expect letters on the edges of the keyboard (P,Q,L) to be picked less frequently than 1/26, and also possibly some strings of letters are common based on normal keyboard resting style, for example: Gamers might have a higher chance of putting WASD than non-gamers. Would love to analyze the data for this.
    In summary, Predicting the unpredictable is a great book well worth reading, and humans are terrible at randomness.

  • @johngrasso6224
    @johngrasso6224 7 років тому

    I like how "libra" an actual word showed up in your keymash.

  • @jaskamattila4481
    @jaskamattila4481 7 років тому +9

    Fifth (not a nazi)

    • @flowerperson581
      @flowerperson581 7 років тому +1

      jaska mattila might as well change your pfp. I know it's that peace symbol or whatever, but

    • @TheAnonymmynona
      @TheAnonymmynona 7 років тому +6

      you have a bad profile pic if you have to add a warning to a random comment

    • @matthewlewiscomposer
      @matthewlewiscomposer 7 років тому

      jaska mattila | but your profile picture?

    • @franciscoioimperadordaaust824
      @franciscoioimperadordaaust824 7 років тому +1

      Just write NOT A NAZI in the image.

    • @jaskamattila4481
      @jaskamattila4481 7 років тому +3

      Its not a peace symbol either, it's actually the Finnish air force roundel from before 1945.

  • @triplebog
    @triplebog 7 років тому +1

    I wonder how this algorithm would function if you didn't represent the letters as just 1 true and 25 falses. If you instead characterized each letter by its classification and "sound"*.
    *So the letter B would have a 1 in a "consonent" value; a 1 in "voiced" value, a 1 in "semilabial" (maybe also a 1 in labial, as it falls under both; though semi-labial is the more specific), and a 1 in a "stop" value.
    For more on what all that means: en.wikipedia.org/wiki/Consonant#Features
    The idea being that perhaps it would be able to pick out specific sounds and higher level patterns and easily associate them with a specific language. Like right of the bat; if a word is formed by a bunch of consonent-vowel pairings, it might have a higher chance of being japanese, vs a word with tones of consonants in a row it would have a higher chance of being german.

  • @porx
    @porx 6 років тому

    Gotta love zooming in on fractals.

  • @quinnencrawford9707
    @quinnencrawford9707 7 років тому

    Key Mash is different because in Key Mash all letters seem to be around two common points per string, or a continuous line on the QWERTY setup, because humans generate it and they seem to either punch it over and over in one place per hand, or drag it across the keyboard. However, random is generated by a computer, therefore no pattern occurs.

  • @YPOC
    @YPOC 7 років тому

    The problem with German and Japanese is that Japanese mainly uses syllables consisting of either only a vowel (a,e,i,o,u and n) or one to two consonants followed by one or two vocals, but never more than three letters in a syllable. It usually should be fairly simple to detect.
    Also your German set is flawed because the mutated vowels / umlauts have simply been stripped of their diaeresis instead of transforming them into their transformed version with an appended 'e', so ä->ae, ö->oe, ü->ue and very important as well: ß->ss.

  • @juliopchile
    @juliopchile 7 років тому

    TWOW, this is amazing, I want to see it guessing all the languages at the same time.

  • @gagaoolala9167
    @gagaoolala9167 7 років тому

    I think that extra nodes providing statistics like % of vowels followed my consonants or similar might help get rid of the word-length problem.

    • @Nerdule
      @Nerdule 7 років тому

      Essentially the entire thing that makes neural networks interesting and powerful, and almost the whole motivation behind the recent wave of deep learning success, is that if you structure your network right and provide enough training data, *you shouldn't have to do that*.
      Every past approach to AI required carefully hand-engineered features that required almost as much effort to develop and create as it would have taken to just solve the problem yourself. Deep neural networks, however, can actually use the lower layers to learn their own features, which the higher layers can process to do stuff like classification. It's actually possible for neural networks to learn how to play videogames using only raw pixel inputs!
      The trick is, though, you've got to actually be moderately clever in structuring your network, so he'd have to use a recurrent neural network or a 1D convolutional neural network or something else that incorporates the sequential, spatial structure of the problem.

  • @MarkusAldawn
    @MarkusAldawn 6 років тому

    I see you've got an Esperanto option. I like the idea of a universal (or even European) language, so I approve.