Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep69
2025-07-11 13:39:54 [java] Source: MetaScripta
that thereare 64 cross 64 pixels in this imageright 64 into 64 pixels and science vs conspiracyeach andevery pixel will have a specific valueis that is thatcorrect right now let's assume that Istart writing something right let's sayI go ahead and write the digit sevenover hereright if I go ahead and if I write thedigit seven now what will happen all theall these pixels right all the ones thatare colored in Black Will they have asimilar pixel value all these the thepixel value will be same right exactlythesame right and all the ones which arelet's say not black so let's say thatthe background is white now if thebackground is white so all the rest ofthe pixels will have the same same valueit it might be let's sayzerocorrect now similarly if I take theseven away and let's say I go ahead andI write an eight if I writean8 what will happen this time do youthink that the pixels which have blackvalue will be different as compared tothe ones which have uh which we had forseven or will they be the same maybesome of them some of them will be commonso if I write both a seven and an8 maybesome pixels will be common right sothese pixels will be common these willbe common these will be common but ifyou see for majority of seven and 8 theEXs aredifferentcorrect now if you see right if I goahead and if I convert thistwo-dimensional data into aone-dimensional matrix right so let'ssay this two-dimensional data I go aheadand I convert this into aone-dimensionalarray right so let's say this is thedata this is the data for eight let'sassumeso for eight it might happen that mypixels are varying like this right solet's say first every pixel is zero thenlet's say this is I'm I'm just giving avalue of zero and one right to make itsimple so let's say this is then onceagain zero then one oneone right something likethis right so let's say for eight thisis what I get but if I do the same thingfor sevenmaybe I get a differentpattern right maybe for seven Iget mostly starting will be zerosbecause it will be blank let's say thenthisright does this make sense guys do youthink this will happen the pattern willbe different right now for most of thesevens the pattern will be very similarand for most of the eights the patternwill be very similaris everyone able to understand now seethis is the idea on which we actuallytry to work when we are working withimages right now if I go ahead and if Igive the label over here for this eightand for this as seven do you think mymathematical models will be able toidentify this patterneasily see if for every eight thepattern is almost similar if for everyseven the pattern is almost similar yourmodel should be able to uh uh find thisoutright is everyone able to understandthis anyquestions all right so if you see thisnow if I show you this dataright so what we'll do is that thatwe'll first read this data now thismist. load data you can go ahead and youcan look at the definition as well ifyou do if you just press a controlcontrol and click on this right you cango to the definition this will onlyhappen in Google collab right this willnot happen in your uh Jupiter notebooksand all so you can see that this this isthe load data function right and here ifyou see this load data is actuallyreturning four data frames X train ytrain X test and Ytest uh I'm using Mac forit so for me itis uh Control Plus click you can trythis on your system as well right if youjust go and I I think if you presscontrol and click on the function itshould open the definitionright so if you see this function isreturning four data frames so what I'mdoing is that I I am actually collectingwhen I call this function I'm collectingthe values in four data frames in anexactly similar manner right and when Icollect this so let's start from thestartuh right I will runthis now this what you're seeing is thatmy data that I have it has 28 rows and28 columns the image data that I haveright it is 28 cross 28 pixels the totalnumber of classes that I have in thisdata is 10 that is the total number ofdigits are 0 to 9 which will be 10 batsize and epox you can leave for nowright uh this is for the model only butwe have declared it over here then Ihave called this function this datasummary in this function I'm justpassing all of my data and all it thisfunction is doing is that it is printingthe shape of your train and test it isprinting the labels that your train uhdata has right and now if I call thisright if you see I'm saving this data toX train y train X test and white testand then I call the data summaryfunction now you can see that this ishow the data is splitted your trainingdata contains 60,000 images and yourtesting data contains 10,000 images theshape of the training data you can seeis 60,000 cross 28 cross 28 why becausethere are 60,000 images each images eachimage has the size of 28 cross 28pixel rightyour labels that is your target variablewill have only 6,000 values because thethese are digits in the range of 0 to 9right similarly my testing data has10,000 samples and my testing label has10,000 right and the train and testlabels you can see that these areactually digits that the imagescorrespond to so my first training dataright is the image five my secondtraining data is the image zero this isonly digit images right konal this mesdata is only for digitsall right now as Next Step let's try toplot this data and let's try to first ofall plot and see whether the imageswhatever we are getting is correct ornot right so what I'll do is that I'mdefining a variable which will just takethe index of which image I want to printright so I take a
(Editor: python)
Related content
Web3 Developer in 2024 Roadmap_ Solidity, Smart Contract, and Blockchain Development [Full Course] - Ep57
Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep72
How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep38
Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat [DownSub.com](1).txt - Ep82
GenAI Essentials – Full Course for Beginners - Ep137
- Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial - Ep109
- How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep55
- Lul Tim on Killing King Von while Protecting Quando Rondo (Full Interview) - Ep12
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep79
- Artificial Intelligence Full Course _ Artificial Intelligence Tutorial for Beginners _ Edureka - Ep33
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep65
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat [DownSub.com](1).txt - Ep34
- Miley Cyrus_ Something Beautiful, Touring & Stardom _ Zane Lowe Interview - Ep4
Recommended articles
-
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep171
winner here so what we can doactually back in our hard hat project iswe want to create a new script ...[Details]
-
game but all right thedifference though is like with Emilthat's 40 50 years ago so ain't reallynobod ...[Details]
-
inthe output layer right so it is not aonetoone mapping you don't have to goahead and let's say if y ...[Details]
-
the to to like to the likemy hood like look up Lake your doom Iguarantee you [ __ ] that [ __ ] is f ...[Details]
-
GenAI Essentials – Full Course for Beginners - Ep106
yeah because this is running rightnow in WSL and if we type in OLama like o Lama is not accessible h ...[Details]
-
right now seeintelligence can be any one of theseright so artificial intelligence can beany one of t ...[Details]
-
यहां पे क्योंकि देखिएइसने बहुत ज्यादा मिस क्लासिफिकेशन कियाहै देखो यहां पे देखिए बहुत ज्यादा मिसक्ला ...[Details]
-
How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep41
car mpgdata. isnull isnull is the main functionto check whether do we have any missingvalues or not ...[Details]
-
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep84
the same buthard hat won't necessarily know aboutdifferent contract factories anddifferent pieces an ...[Details]
-
How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep58
for example if I give gbd4 thatwrite a poem on on let's say any topicbut every word in that poem sho ...[Details]
Hot reading
Random content
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep112
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep15
- [Hindi (auto-generated)] Machine Learning FULL Course with Practical (10 HOURS) _ Learn Free ML in 2025 _ Part-1 - Ep87
- [Hindi (auto-generated)] 2025's Most Important Career Podcast - AI Skills For All Ages _ Masters' Union Dr. Nandini Seth - Ep4
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep6
- Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep275
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat [DownSub.com](1).txt - Ep88
- Katt Williams _ This Past Weekend w_ Theo Von #558 - Ep6