Butwhat I havesofaris I'vepreparedmydataset, loadeditfrom a Jasonfile.
I'veturnedeverythinginto 10 Tsar's.
Andthen I created a modelTFusingtechnologyas a T F sequentialmodel, whichisdesignedtoreceiveArchiebeinputsandoutputs a probabilitydistributionforcolorlabels.
And, youknow, again, thisissomewhatof a trivialscenario.
But I'm classifyingdata, simpledatawithjustthreeguysallbetween 01 andnine.
Possiblecategoriesorlabels.
Okay, sothat's what I'vedonesofar.
Sonowthat I have, thisisactually, like, alwaysfearsgoingoverin, like, twoseconds.
Alltheinputsandtheirassociatedtargetoutputs, which I havecalledexesandwise.
Now, I think I'm gonnagetanerrorrightnow.
Letmejustactuallyrunthis, and I'm goingtoabsolutelyrunthisandseeif I gettheerrorthat I'm expecting.
Yeah, solookatthis.
Oh, okay.
So a coupleofdays, welcometoyourlifedoingmachinelearningshapedmismatching.
I don't evenexpectthiserror.
Youhavetothinkaboutthisoneerrorwhencheckinginputexpecteddenseinputtohaveshapedthree, butgotarraywithshape 5643 3 So I guess I'm sendinginnotjustthreeinputs.
Theshapeofmyinputsismany s, so I thinkif I justdoUhhuh.
So I made a mistake, and I usedinputdimensionswherewhat I reallymeantwasinputshape.
Soif I comebackhereand I justaddanoptionvalidationdata, I say 10.1.
I wanttouse 10% ofmytrainingdataasthevalidationdata.
That's what's goingtobeusedtocalculatetheloss.
Butit's notpartofthetraindownnow.
Theremightbeanissue.
I alsowanttomakesure I haveShuffleonShuffleis a parameterthatshufflesthetradingdataateachepochbecauseyoudon't alwayswanttotrainwiththedatainthesameorderasyou'retweakingalltheweightsandstuffasit's doing.
Itstraining, ifit's in a differentorder, isgonnahelpitout.
Butthevalidationdata I think I lookedatthisbefore, isbeforeselectedbeforeshuffling.
Soit's a lecturefromthelastsample, so I mighthave a slightissue, orifforsomereason, theordermydataisin, there's somethingweirdabouttheendofitisallonelabelorsomethingprobablyshuffleitmyselfmanually.
Butwemightwanttotunevariousparameters, but I'm notgonnaworryaboutallthatrightnow.
Thepointis, I havenowtrainedthemodelusingmodelsoutfit, shufflingthedatawith a certainvalidation, saving 10% forvalidation, notdoingpropertestingdatayet.
Thatwouldcomelaterand 50 bucks.
Okay, So, um, inthenextvideo, what I wanttodoismakeitsothat I couldrunananimation.