Um, soessentially, whatourclassifierwillwanttodowhat a k meansclassifierwilldioisitsaysOkay, I havethislargedatasetandTuesday I'm goingtojustgrab a bunchofrandompiecesfromthedeficitandthosewillbemyinitialclusters.
Thenif I takewhateverthemeanerthecenterofthatclusteris, itshouldbeprettyrepresentativeofwhatweonaveragelookedlikeinthatstream.
Now I haven't Wehaven't testedthese, right, Sowewereprettysurethatit'llworkreasonablywell, butweleaveourselves a littleuntestedtokindofverifythatthingsthatkindoffunny.
AnditgivesyouguyssomeroomThioexperiments, I guess.
Andwegettoexperimentandshowyouguyscoolthings.
Soyouwillseesomekindofentertainingstuffwithour K meansclustering.
Butourpredictionisroughlythat.
Youshouldseewhatwelookedlikeonaverageon a givenstreamandgiven a newimage, it'lltelluswhichclusteritshouldhavebelongsto.
Sowell, theniteratedoutrhythmoverthoseimagesandsay, Hey, whichclusteryouclosesttoAndsothatcanbe a wayof, like, tighteningupwhatyou're a k meansclassifierwillactuallydo.
SGSTbeforewassayingeventhesecondguy, youknow, I wasactually I justWehad a bugwithourFacebookdeployment, So I wasjustfocusedongettingusstreamtoFacebook, whichwenoware, I guess, aswewereinitiallypublishedpublishingthis O B s sortofbuggedoutandcausedthefateextremeaboutNo, no, I wassorry.
I was, like, zoomedinongettingthatfocus.
Buthe s airhere.
Sheaskedanotherquestionearlier.
Whichwas, umwherewasit?
I'm proficient, Python, butknownothingabouthim.
Isthisdreamforme?
Whatdoyousay?
Yeah, I thinkthisis a veryreasonablestream.
Evenifyou'renotsupergreatinpylonorifyou're, like, veryadequate, I wouldcountmyselfislike, decentinpython.
Thiswouldstillbeprettyreasonableforyou.
Soourgoalistokindof a daybeginning.
We'regonnadothiskindofhighlevelapproach.
Like, whatarewegoingtogothrough?
Whatkindoftheconcepts?
Butwe'regonnarepeatthoseconceptsprettymuchthroughoutthestreamsothatyoureallyget a senseofwhatwe'reactuallytalkingabout.
S So, forinstance, ifyou'rereallylike, uh, youwanttodothisyourself, thenyougoatalong.
Weshouldbegoingat a reasonablespeedisalwayspositive.
Video.
Goback.
ReiterateonDDE.
Thatshouldbeeasyforyou.
Ifthat's howyoulearn.
Ifyoulearnthroughlisteningtowhatwesay, thenmaybe a differentiterationwillhelpyouifthisonedoesn't work, Ifthismakesperfectsensetoyou, thenthat's great.
Therearemanydifferentwayswe'regonnatryandattackthesameproblemon I sawsomebodysaid, Pleasealsotalkaboutlimitationsof K meansclustering.
Asin, Iftherearetwoconcentriccircleskindsofdata, thenyou're k meansclusteringmighthavesomeproblemswith, likeidentifyingwhichoneiswhich s O, forexample?
Let's say I havesomedatasetandthensomeofthedatasetthatis a subsetoftheotheroftheoriginaldatasetisit?
EsoLet's say I wantedtoclassifybetween, like, allkindsofdogversuslikepoodles, forexample, right?
Itmightbe a littlebittrickyformeandactuallythatmightnotbethebestexample, butit's kindoftheidea, whichisthat I havethesubsetofthedatathat I wanttokindofclassifyasseparatefromtherestofthedata.
Andthatcouldbereallydifficultfor K meansbecause K meansbydefinitionisreallyjustlookingat, likewhatmeanimage?
Can I getoutofsomedataset?
Andhowcan I findthingsthatareclosesttothatmeanbysomemeasureofdistanceonDSOforsomethingthathaskindofonaverage, thatthemeanimageoftheentiredatasetisvery, veryclose.
Thiothemeanimageofthesubsetdatasetthen K meanscan't distinguishthetwo.
Butmaybeyoucouldlookatotherfeaturediscriminationalgorithms, soit's a deepfeeling.
There's a lotofthings, a lotofcomplexity.
It's veryinteresting, but I'm veryexcitedtolearn.
I think a littlebitmoreabout I'm actuallygonnatransitionthioyourlaptop.
Youworktomakesureonwhileyou'redoingthat a TTEtheveryendofthestream.
Wewillhopefullyhave a littlebitoftimeThiokindofsneakpeak.
Andthat's whatwecall a generativemodelandthen, potentiallyindegenerativeadversary, yes, andeventuallywewillhopefullyget, I guessnot.
Eventually, after, maybethatwewillhopinto a generativeadversarialnetworks.
Sothiswilldojust a singlepartstreamthatmanyparts.
Yeah, butyeah, I think I thinkwillhelppeopletoget a I thinkit's groundworkunderstandingof a lotofthepieces.
Yeah, Andso I thinkthatit's a verygoodpointtorecognizethattherearelimitationstothis, thatthenextstreamwillkindofcoverwhytherearen't necessarilyasmoney, beautifulscreenseveryhalfforthebrandnew, right?
Thisis C matrix.
I pipedit.
SoonOS X, I pipeditthroughLittlecatwallCat, rainbowFIEsthingsSeeMatrixmakesthings.
Itmakeskindoflike a matrixstylescreensaver.
I'm a hugefanofusingit.
I don't knowwhocreatedit, but I guesswe'rekindofdoingfreeadvertisingforhim.
They'rereallycool.
It's a coolproject.
I'm a hugefanofusingit.
I thinkitlookstechieandanybodywantstolooklikethey'retruefantasy.
Itphysicallybutmightpopin a littlebitlaterthatmynameisColtonOgden, workingfulltimetechnologist.
And I alsodothistwitchdreamingand a bunchofotherstuffprogramanotherrelatedthingsondhe.
Andthen I actuallywasonCS 50 stafffortwoyearsorso.
Andthat's how I endedupworkingwiththeseguys.
Andthentherestofmytimeisspentbeing a student.
I'm just a fulltimetoremindmewhatyour I don't remember 100% ifyou'redoingsiESAsyourconcentration, right?
Yeah.
Mymajoractuallyhavejointor a doublemajorinbioengineeringandcomputerwasn't sureitwasverydifficulttorememberwhichone s so I'm doingbothand, yeah, mostofmytimespentstudying.
I thinkif I didn't havetospendallofmytimedoingjustpeace, that's constantlyproblems.
That's forthosewhoaren't familiar.
Then I wouldprobablyproducemuchmorehighqualitypreparationonthesestreams.
Butthat's okay.
I thinkit's stillprettyprettyentertaining.
Thisisbefore, andyou'vetaken a nameoffcoursehere.
Yeah, and I'm alsocurrentlyinouranimalcourse, actually.
Okay, so I'veactuallytastetakenmostlyuh, likesystemscourses.
So I focus a lotof, likesystems.
I reallylikethat.
A visualizationwhen I haven't gotten a chance, Take a courseinit.
Um, actually, wow, I'vereallyfocusedonsystems, so I'm fairlyfamiliarwithsystems.
Ifyouwant a reallybadversionofmy C programming, gowatch R C.
Perkins.
Threepointofthatstreetwasnotmy C programming, butwedidendupuhuh, kindofgoingthroughsome C programming.
Uh, yeah, I reallydon't knowwhere I think I justkindofgotinterestedinmlasactuallyinCS 50.
I waslike, Oh, machinelearningseemsreallycool.
My t f waslike, Yeah, youshouldgo.
Goforit, youknow?
And I triedsomeveryhighlevellibrariesandenoughtounderstandmuchaboutthetheoryandkindoffromthere I hoppedinto a bunchofarticlesand I startedbuildinglittleexamplesmyself.
Um, yeah, And I think I built, like, a smallroomcamerathatuponsomeonefrommyfamilyenteringmyroom, itkindoflikeidentifieswhotheyarenotifiesme, Youknow, justforfun.
A lotoftimesyoujustbuildprojectsandasUgothingskindofpopoutofthewoodwork.
Butyeah, theatrocityessentialquestionwas, DoyouhaveanyhottakesonwhetherthehypergoalinginthefutureofMandela's justifiedjustbeginningtolearnthelanguageandyou'regoingtogoworkfor I am, Yeah.
Soit's kindofanappropriatequestion.
I actuallyreallylikegoingand I'm notsuperfamiliarwithityet, but I do.
I dointendonbecominglikethatonbecomingmuchmorefamiliarwithit.
S o going.
LanguageinventedbyGooglesometimesreferredtous.
JustgonottobeconfusedwiththeboardgameandgoLangis a veryinterestinglanguageinthatitstillallowsyoutohaveaccesstolowlevelthings, C++ styleseestyle.
I canstilltouchmemoryandaccessprimitives, butithas a muchnicerwell, a lotofpeoplebelievethiswillsetoff a firestormsomewhere.
Butmanypeoplebelievethatithas a muchnicerinterface.
Kindofall.
I likepythonandjavascriptthendolikeseagulls.
PossumsSee, thiswas a garbagecollector, Doesn't it?
There's a lifecycleof a givenobject s o forlike, objectorientedlanguageisyoutakesomethingwhereyoucreateanobject, substantiateitandmaybeyoukindofallthereferencestothatobjectdisappear.
There's a garbagecollectorthatpreventsthatobjectfromjustfloatingaroundforever.
Inactivememoryormainmemory.
Goinghas a nicegarbagecollector.
Goalsohas a reallynicefeaturethat I haven't explored a wholelotinIt's likeversionofthreadsandthreadingtherenotasheavyweightaslike a C plus, plustherightpeople.
I spendthatupandit's gotitsownstackIt's doingallthesethingsandthisisprettyheavy.
It's heavyandmemoryusagejusthavingTVusage.
Whereisgoing?
Threadsareactuallylittlebit.
I mean, it's thelanguage, Verymuchdesignfordistributedsystemsthatmakesense.
It's It's likeit's number 11 ofitstheirwholedesignconsiderations.
Sotheydo a lotofverycoolthingsingoingandactually, yeah, I wouldn't recommendgoingandexploring.
Or I thinkmaybeit's functionaland I actuallyinindustrywereatleasttheindustriesthat I'veworkedin.
I'vegenerallypreferredfunctionalparadigmsbecauseitmakesitreallyeasytotest, whereasOdditoriumparadigms, it's notthatthey'redifficulttotest, but I generallyfindthatpeopleare a littlelessstringentintheirtestingpractices, andthattendstoleadtomorebrittlepractices.
Andeventuallynoonecondemnedyourcoat.
I mean, wetalkedaboutit.
I reallylikeclosure.
I wanttoget, like, reallygoodatclosure.
Like I wouldtoo, youknow, growingpopularity.
I mean, I thinkfunctionalprogrammingisonalwayshasbeennothingsinceitsinception.
Thinklanguageshavemore, youknow, recentlyespeciallystartedtoadoptfunctionalfeatures, evenJava, whichiskindofcrazytothinkGofigure C Sharpisnotsogreat a greatwiththatwith, like, linkBerriestoomuch, butBut I'm moreinvolvedinthegame.
Ofcourse.
Here, I mean, thegamedevelopmentrecentbeenconsideringtheideaofmaking a gamecompletelyin a functionallikeenclosures, whichwouldbefascinating, butyou'redealingwith.
You'redealingwitheithereithertheideaoftakingyourentireframeandperformingmutationsonitassoonasyourstateobjectortakingjustthewhatyouwouldtakeitlike a reactAppert.
Just a generalapplication, likeallyourentities, importantinformationenteringthatisyourstateobjectperformingoperationsonthat, alsohavingsortofsequenceoldrenderinglogic.
Umso I wasalso I thinkitwouldbeOh, andEMClubdisclosuresaboutthebestpayinglanguagetoknow, accordingtothenewSMInsidesknewaboutthat, too.
Nicoledoesn't happentobethemainreasonthat I wanttolearnclosure, butit's a nicelittlelittleplus, youknow, nextbonusrightontopof a nice, highpayingindustry.
Butwhatyou'resayingistrue.
I mean, likedoingthestatewithobjectorientedprogrammingwithreallylargeapplicationsandgamesorcrimeexampleofright.
That's a Youcouldessentiallymodel a neuralnetworkwithjustyourmachinesatthatpoint, so I thinkit's actually, it's prettyimportant, likeyouprobablywanttostayabreastof, likesomeofthesekindofheftierlanguagesthatairstickingaroundproblems a goodexamplebecauseit's somultipurpose.
Butifyou'relookingtomaybehavesomemoreperformancesystemsandpeoplewouldbelike, Oh, youcantransport a pythonintoseeitlikethis, allthingsyoucandothat's true.
Butlike I mean, ifyouwantedtojustoutoftheboxhave a slightlymoreperformances.
Well, actuallyimmediatelymoreformingsystem.
It'llalwaysbeworthyourwhilewillgetspeople's plus.
Butgoinghasmanyofthepropertiesthat I thinkwillendupbeingimportantinthefuture.
Such a CZdistributedsystemsand, well, actuallyreallyjustthis, likedistributedsystemsparadigm, whereit's likewecanspendmanydifferentsystemsonDDE.
It's goingtobe a horizontalscalingissueratherthanindividualcores, whichisreallyItis a veryinterestingshiftthatwe'restartingtosee, andwe'reallwe'reallinit.
Functionalprogrammingisveryeasytoverifythings, andthat's it's prettymuch a exactWell, I wasgonnasaysideeffectofthefactthattherearenosideeffects, right?
It's justsuperused.
Andthere's beenarticleswrittenaboutthistoo.
Now, liketheoretically, thisisthereasonfor a softwareblowinwhat, thishaveyoueverworkedinindustry?
Andyou'veseen a pieceofcodethatyou'relike, Whydoesthisworkthewayitdoeswheretheunittestswiretherenounittests.
Butbeingabletowriteoutexplicitlywhatholictheoperationthat I thinkit's basicallytheverbsversusnowownsargumentrightwithprogram, whichisas a studentofCSandyou'reswitchingbetweenalltheselanguages, Julianwhatitgetsthelightis, everyonewritethingslikethis.
Wedon't particularlycarenowif I wantedtokindofremappedthis a littlebitsothateverythingwas a littlebiteasiermaybeforcomputerstodealwith, I coulddosomethinglikethis.
Uh, lipsarecolorMappingdoesn't workherebecauseourimagepixelsarenottranslatedinto a oneoddscale, butwecandothatshortly.
Butif I hadanequivalentRGBimagercolorimage, it's 1/3 thesizebecauseyoucanthinkofanimageisreallybeing a compositeofontheirdifferentwaysoforganizingthis.
Thisisjust a veryclassicallytaughtone, where I haveactuallythreeversionsoftheimagekindofoverlaid, andthefirstversionistheRedEvers, andthe 2nd 1 istheamountofgreen, andthe 3rd 1 istheamountofblue.
Andthenwhen I combinethoseon a computerscreen, I canthenseewhattheactualcolorsoriginallyworked.
Uh, itjusthelpsmekindofmentallykeeptrackofwhereweareintheexecutionofcoaton, andthenyou'llseethattheparadigmthatwe'reusingiskindoflikeifthisisintendedtobe a script, let's useit, uh, a script.
Sowhatwe'regonnadois, ifnameismainthanwhat I wanttodois I wanttosaymydataissomemethodwhere I calllike, loaddataongonnaprobablyhavetogivethissomedirectory.
Soif I gointomyterminalonmylistoutwhichdirectories I have, let's haveitloaddatafromthestream, alldirectory.
We'regoingtousekindofthestandardlike s K learnmethodsandwillsay, haveitfitontheprocesseddataesoOnceithasbeenfittothatprocessdata, weshouldhavesomesetofimages.
Sowe'regonnadothis.
Onedeviates a littlebitfromstandardFBI, butwe'regoingtotake a meansdisplaymeanssothiswilldisplaythemeanimagestous.
AnditshouldreturntoussomenumptyarraycontainingsortofHaskell e ofsyntax.
Yeah.
So I amreading a littlebitinkindoffunctionalstyle, uh, languageoverhereinourcommentstoclarifythesecomments, making a littlebiteasiertoreadwilldothat.
Yeah, I thinkthatis a bunchofaboutthecodetimeextension.
Oh, yeah.
Thatisalsoanextension.
I'm a hugefanofusingextensionstokindof I don't makeitfeel a littlebitmorehomey.
Andsomeoneaskedwhich I d isthatThatisanincendiaryquestionforsomepeople.
Butthisisvisualstudiocode.
I'llleaveittoyou.
HastohashoutwhereHowmuchofanidea.
Itismindfunctionsverymuchlikean I.
D.
I wouldcountitforallintensivepurposesisuntidy.
It's definitelymoresothan a lotofthis, likecompetitorslikeAdamandSublime, which I don't need a master's a texteditorssome I d featuresthatGScodegivesyou.
Yeah, especially.
I'm a hugefanofthewaytheterminalintegrates, whereasanAdam, youhaveto, like, dragtheterminal.
And I haven't quitefiguredoutwhen I startedasanextensiontothinkthisisitsnativenative I'm a hugefanvisualstudiocode, verywellbuilt.
Wemightwannalikemanipulatethatdatasomehow s O Inthecaseofimages, a lotoftimesthatmeansextendingourdatasetbecauseitiskindofdifficulttoobtainimagesthataremeaningful.
Butaswementioned a littlebitbeforeandwe'regonnamentionprobably a couplemoretimes.
Um, imageof, like, Coltonand I here, andwe'reprobablygonnadothisinthestream.
Butitwasjust a littlebitmoretime a newimageofColtonand I, uh, sittinghereasopposedtoanimageofusinreverse.
We'restillinthesamestream, right?
Sotherearewaysformetoextendtheamountofdatathat I gotoutofsomething, eventhough I never I neverlikeacquirednewdataonDSO.
That's kindofanimageaugmentationprocess.
Audiofiles.
It's a littlebit.
It's a littlebitmoredifficultforustokindofimaginewhatis a meaningful, likeaudiophileaugmentation.
Rhysisnot.
Butimageisprettyeasyforustounderstandthat, likeif I swapusaround, if I makethisblackandwhiteversuscolor, they'reallstillthesame.