1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning Course Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Machine Learning Course Introduction

Transcript

I'm sure you all agree that machine learning is one of the hottest Trend in today's market right Gartner predicts that by 2022 there would be at least 40% of new application development project going on in the market that would be requiring machine learning co-developers on their team. It's expected that these project will generate a revenue of around three point nine trillion dollar, isn't it cute so looking at the huge? Upcoming demand of machine learning around the world. We guys at Eureka have come up and designed a well-structured machine learning full course for you guys. But before we actually drill down over there, let me just introduce myself. Hello all I am Atul from Edureka. And today I'll be guiding you through this entire machine learning course. Well, this course has been designed in a way that you get the most out of it. So we'll slowly and gradually start with a beginner level and then move towards the advanced topic. So without delaying any further,

let's start with the agenda of today's Action on machine learning course has been segregated into six different module will start our first module with introduction to machine learning here. We'll discuss things. Like what exactly is machine learning how it differs from artificial intelligence and the planning what is various types or dead space application and finally we'll end up first module with a basic demo and python. Okay a second module focuses on starts and probability here will cover things like descriptive statistics and inferential statistics to Bob. Rarity Theory and so on our third module is unsupervised learning. Well supervised learning is one of a type of machine learning which focuses mainly on regression and classification type of problem. It deals with label data sets and the algorithm which are a part of it are linear regression logistic regression Napier's random Forest decision tree and so on. Our fourth module is on unsupervised learning.

Well this module focuses mainly on dealing with unlabeled data sets and the algorithm which are a part. Offered or k-means algorithm and a priori algorithm as a part of fifth module. We have reinforcement learning here. We are going to discuss about reinforcement learning and depth on also about Q learning algorithm finally in the end. It's all about to make you industry ready. Okay. So here we are going to discuss about three different projects which are based on supervised learning and unsupervised learning and reinforcement learning finally in the end. I tell you about some of the skills that you need to become a machine learnings and Jean. Nia okay, and also I am discussing about some of the important questions that are asked in a machine-learning interview fine with this we come to the end of this agenda before you move ahead don't forget to subscribe to a dareka and press the Bell icon to never miss any update from us.

Hello everyone. This is a toll from Eureka and welcome to today's session on what is machine learning. As you know, we are living in a world of humans and machines humans have been evolving and learning from the past experience since millions of years on the other hand the era of machines and robots have just begun in today's world. These machines are the rewards are like they need to be program before they actually follow your instructions. But what if the machine started to learn on their own and this is where machine learning comes into picture machine learning is the core of many futuristic technology advancement in our world. And today you can see various examples or implementation of machine learning around us such as Tesla's self-driving car Apple Siri, Sophia. I do bot and many more are there. So what exactly is machine learning? Well Machine learning is a subfield of artificial intelligence that focuses on the design of system that can learn from and make decisions

and predictions based on the experience which is data in the case of machines machine learning enables computer to act and make data-driven decisions rather than Being explicitly programmed to carry out a certain task these programs are designed to learn and improve over time when exposed to new data. Let's move on and discuss one of the biggest confusion of the people in the world. They think that all the three of them the AI the machine learning and the Deep learning all are same, you know, what they are wrong. Let me clarify things for you artificial intelligence is a broader concept of machines being able to carry out tasks in a smarter way. It covers anything which enables the computer to be. Have like humans think of a famous Turing test to determine whether a computer is capable of thinking like a human being or not. If you are talking to Siri on your phone and you get an answer you're already very close to it. So this was about the artificial intelligence now coming

to the machine learning part. So as I already said machine learning is a subset or a current application of AI it is based on the idea that we should be able to give machine the access to data and let them learn from done cells. It's a subset of artificial intelligence. Is that deals with the extraction of pattern from data set? This means that the machine can not only find the rules for optimal Behavior, but also can adapt to the changes in the world many of the algorithms involved have been known for decades centuries even thanks to the advances in the computer science and parallel Computing. They can now scale up to massive data volumes. So this was about the machine learning part now coming over to deep learning deep learning is a subset of machine learning where similar machine learning. Tamar used to train deep neural network. So as to achieve better accuracy in those cases where former was not performing up to the mark, right? I hope now you understood that machine learning Ai

and deep learning all three are different. Okay moving on ahead. Let's see in general how a machine learning work. One of the approaches is where the machine learning algorithm is strained using a labeled or unlabeled training data set to produce a model new input data is introduced to the machine learning algorithm and it make prediction based on the model. The prediction is evaluated for accuracy. And if the accuracy is acceptable the machine learning algorithm is deployed. Now if the accuracy is not acceptable the machine learning algorithm is strained again, and again with an argument a training data set. This was just in high-level example as they are many more factor and other steps involved in it. Now, let's move on and subcategorize the Machine learning into three different types the supervised learning and unsupervised learning and reinforcement learning and let's see what each of them are how they work. Work and how each

of them is used in the field of banking Healthcare retail and other domains. Don't worry. I'll make sure that I use enough examples and implementation of all three of them to give you a proper understanding of it. So starting with supervised learning. What is it? So let's see a mathematical definition of supervised learning supervised learning is where you have input variables X and an output variable Y and you use an algorithm to learn the mapping function from the input to the output. That is y Affects the goal is to approximate the mapping function. So well that whenever you have a new input data X you could predict the output variable. That is why for that data, right? I think this was confusing for you. Let me simplify the definition of supervised learning so we can rephrase the understanding of the mathematical definition as a machine learning method where each instances of a training data set is composed of different input attribute and an expected output the input attributes

of a training data set can be of any End of data it can be a pixel of the image. It can be a value of a data base row or it can even be an audio frequency histogram right for each input instance and expected output values Associated value can be discreet representing a category or can be a real or continuous value in either case. The algorithm learns the input pattern that generate the expected output now once the algorithm is strain, it can be used to predict the correct output of a never seen input. You can see I image on your screen right in this image. And see that we are feeding raw inputs as image of Apple to the algorithm as a part of the algorithm. We have a supervisor who keeps on correcting the machine or who keeps on training the machine. It keeps on telling him that yes, it is a Apple. No, it is not an apple things like that. So this process keeps on repeating until we get a final train model. Once the model is ready. It can easily predict the correct output

of a never seen input in this slide. You can see that we are giving an image of a green apple to the machine and the Machine can easily identify it as yes, it is an apple and it is giving the correct result right? Let me make things more clearer to you. Let's discuss another example of it. So in this Slide, the image shows an example of a supervised learning process used to produce a model which is capable of recognizing the ducks in the image. The training data set is composed of labeled picture of ducks and non Ducks. The result of supervised learning process is a predictor model which is capable of associating a label duck. Or not duck to the new image presented to the model. Now one strain, the resulting predictive model can be deployed to the production environment. You can see a mobile app. For example once deployed it is ready to recognize the new pictures right now. You might be wondering why this category of machine learning is named as supervised learning.

Well, it is called a supervised learning because the process of an algorithm learning from the training data set can be thought of as a teacher supervising the learning process if we know the correct answers. I will go Rhythm iteratively makes while predicting on the training data and is corrected by the teacher the learning stops when the algorithm achieves an acceptable level of performance. Now, let's move on and see some of the popular supervised learning algorithm. So we have linear regression random forest and support Vector machines. These are just for your information. We will discuss about these algorithms in our next video. Now, let's see some of the popular use cases of supervised learning so we have Donna codon or any other speech Automation in your mobile phone trains using your voice and one strain it start working based on the training. This is an application of supervised learning suppose. You are telling OK Google call Sam

or you say Hey Siri call Sam you get an answer to it and action is performed and automatically a call goes to Sam. So these are just an example of supervised learning next comes the weather up based on some of the prior knowledge like when it is sunny the temperature is high. Fire when it is cloudy humidity is higher any kind of that they predict the parameters for a given time. So this is also an example of supervised learning as we are feeding the data to the machine and telling that whenever it is sunny. The temperature should be higher whenever it is cloudy. The humidity should be higher. So it's an example of supervised learning. Another example is biometric attendance where you train the machine and after couple of inputs of your biometric identity beat your thumb your iris or yellow or anything once trained Machine gun validate your future input and can identify you next comes in the field of banking sector in banking sector

supervised learning is used to predict the credit worthiness of a credit card holder by building a machine learning model to look for faulty attributes by providing it with a data on deliquent and non-delinquent customers. Next comes the healthcare sector in the healthcare sector. It is used to predict the patient's readmission rates by building a regression model by providing data on the patients treatment Administration and readmissions to show variables that best correlate with readmission. Next comes the retail sector and Retail sector. It is used to analyze the product that a customer by together. It does this by building a supervised model to identify frequent itemsets and Association rule from the transactional data now, lets learn about the next category of machine learning the unsupervised part mathematically unsupervised learning is where you only have Put data X and no corresponding output variable. The goal for unsupervised learning is to model the underlying structure

or distribution in the data in order to learn more about the data. So let me rephrase you this in simple terms in unsupervised learning approach the data instances of a training data set do not have an expected output Associated to them instead unsupervised learning algorithm detects pattern based on innate characteristics of the input data an example of machine learning tasks. Ask that applies unsupervised learning is clustering in this task similar data instances are grouped together in order to identify clusters of data in this slide. You can see that initially we have different varieties of fruits as input. Now these set of fruits as input X are given to the model. Now, what is the model is trained using unsupervised learning algorithm. The model will create clusters on the basis of its training. It will grip the similar fruits and make their cluster. Let me make things more clearer to you. Let's take another example of it. So in this Slide the image below shows an example

of unsupervised learning process this algorithm processes an unlabeled training data set and based on the characteristics. It grips the picture into three different clusters of data despite the ability of grouping similar data into clusters. The algorithm is not capable to add labels to the crow. The algorithm only knows which data instances are similar, but it cannot identify the meaning of this group. So, Now you might be wondering why this category of machine learning is named as unsupervised learning. So these are called as unsupervised learning because unlike supervised learning ever. There are no correct answer and there is no teacher algorithms are left on their own to discover and present the interesting structure in the data. Let's move on and see some of the popular unsupervised learning algorithm. So we have here k-means apriori algorithm and hierarchical clustering now, let's move on and see some of the examples of Is learning suppose a friend invites you to his party

and where you meet totally strangers. Now, you will classify them using unsupervised learning as you don't have any prior knowledge about them and this classification can be done on the basis of gender age group dressing education qualification or whatever way you might like now why this learning is different from supervised learning since you didn't use any pasta prior knowledge about the people you kept on classifying them on the go as they kept on coming you kept on classifying them. Yeah, this category of people belong to this group this category of people belong to that group and so on. Okay, let's see one more example. Let's suppose you have never seen a football match before and by chance you watch a video on the internet. Now, you can easily classify the players on the basis of different Criterion, like player wearing the same kind of Jersey are in one class player wearing different kind of Jersey aren't different class or you can classify them on the basis

of their playing style like the guys are attacker. So he's in one class. He's a Defender he's Another class or you can classify them. Whatever Way You observe the things so this was also an example of unsupervised learning. Let's move on and see how unsupervised learning is used in the sectors of banking Healthcare undertale. So starting at banking sector. So in banking sector it is used to segment customers by behavioral characteristic by surveying prospects and customers to develop multiple segments using clustering and Healthcare sector. It is used to categorize the MRI data by normal or abnormal. Ages it uses deep learning techniques to build a model that learns from different features of images to recognize a different pattern. Next is the retail sector and Retail sector. It is used to recommend the products to customer based on their past purchases. It does this by building a collaborative filtering model based on the past purchases by them. I assume you guys

now have a proper idea of what unsupervised learning means if you have any slightest doubt don't hesitate and add your doubt to the I'm in section. So let's discuss the third and the last type of machine learning that is reinforcement learning. So what is reinforcement learning? Well reinforcement learning is a type of machine learning algorithm which allows software agents and machine to automatically determine the ideal Behavior within a specific context to maximize its performance. The reinforcement learning is about interaction between two elements the environment and the learning agent the learning agent leverages to mechanism namely exploration. And exploitation when learning agent acts on trial and error basis, it is termed as exploration and when it acts based on the knowledge gained from the environment, it is referred to as exploitation. Now this environment rewards the agent for correct actions, which is reinforcement signal leveraging the rewards obtain the agent

improves its environment knowledge to select the next action in this image. You can see that the machine is confused whether it is an apple or it's not an apple then the Sheena's chain using reinforcement learning. If it makes correct decision. It get rewards point for it and in case of wrong it gets a penalty for that. Once the training is done. Now. The machine can easily identify which one of them is an apple. Let's see an example here. We can see that we have an agent who has to judge from the environment to find out which of the two is a duck the first task he did is to observe the environment next. We select some action using some policy. It seems that the machine has made a wrong decision. Bye. Choosing a bunny as a duck. So the machine will get penalty for it. For example - 50.4 a wrong answer right now. The machine will update its policy and this will continue till the machine gets an optimal policy from the next time machine will know that bunny is not a duck.

Let's see some of the use cases of reinforcement learning but before that lets see how Pavlo trained his dog using reinforcement learning or how he applied the reinforcement method to train his dog. Babu integrated learning in four stages initially Pavlo gave me to his dog and in response to the meet the dog started salivating next what he did he created a sound with the bell for this the dog did not respond anything in the third part it tried to condition the dog by using the bell and then giving him the food seeing the food the dog started salivating eventually a situation came when the dog started salivating just after hearing the Bell even if the food was not given to him as the The dog was reinforced that whenever the master will ring the bell he will get the food now. Let's move on and see how reinforcement learning is applied in the field of banking Healthcare and Retail sector. So starting with the banking sector in banking sector reinforcement learning is used to create

a next best offer model for a call center by building a predictive model that learns over time as user accept or reject offer made by the sales staff fine now in healthcare sector it is used to allocate the scars. Resources to handle different type of er cases by building a Markov decision process that learns treatment strategies for each type of er case next and the last comes in retail sector. So let's see how reinforcement learning is applied to retail sector and Retail sector. It can be used to reduce excess stock with Dynamic pricing by building a dynamic pricing model that are just the price based on customer response to the offers. I hope by now you have attained some understanding of what is machine learning and you are ready to move. Move ahead.

Welcome to today's topic of discussion on AI versus machine learning versus deep learning. These are the term which have confused a lot of people and if you two are one among them, let me resolve it for you. Well artificial intelligence is a broader umbrella under which machine learning and deep learning come you can also see in the diagram that even deep learning is a subset of machine learning so you can say that all three of them The AI and machine learning and deep learning are just the subset of each other. So let's move on and understand how exactly the differ from each other. So let's start with artificial intelligence. The term artificial intelligence was first coined in the year 1956. The concept is pretty old, but it has gained its popularity recently. But why well, the reason is earlier we had very small amount of data the data we had was not enough to predict the Turret result but now there's a tremendous increase in the amount of data statistics

suggest that by 2020 the accumulated volume of data will increase from 4.4 zettabyte stew roughly around 44 zettabytes or 44 trillion jeebies of data along with such enormous amount of data. Now, we have more advanced algorithm and high-end computing power and storage that can deal with such large amount of data as a result. It is expected that 70% of The price will Implement a i over the next 12 months which is up from 40 percent in 2016 and 51 percent in 2017. Just for your understanding. What does AI well, it's nothing but a technique that enables the machine to act like humans by replicating the behavior and nature with AI it is possible for machine to learn from the experience. The machines are just their responses based on new input there by performing human-like tasks artificial intelligence can be and to accomplish specific tasks by processing large amount of data and recognizing pattern in them. You can consider that building an artificial intelligence is like Building

a Church the first church took generations to finish. So most of the workers were working in it never saw the final outcome those working on it took pride in their craft building bricks and chiseling stone that was going to be placed into the great structure. So as AI researchers, we should think of ourselves as humble brick makers was job. It's just study how to build components example Parts is planners or learning algorithm or Etc anything that someday someone and somewhere will integrate into the intelligent systems some of the examples of artificial intelligence from our day-to-day life are Apple series chess-playing computer Tesla self-driving car and many more these examples are based on deep learning and natural language processing. Well, this was about what is AI and how it gains its hype. So moving on ahead. Let's Gus about machine learning and see what it is and why it was the when introduced well Machine learning came into existence in the late 80s and the early 90s,

but what were the issues with the people which made the machine learning come into existence let us discuss them one by one in the field of Statistics. The problem was how to efficiently train large complex model in the field of computer science and artificial intelligence. The problem was how to train more robust version of AI system while in the case of Neuroscience. Problem faced by the researchers was how to design operation model of the brain. So these were some of the issues which had the largest influence and led to the existence of the machine learning. Now this machine learning shifted its focus from the symbolic approaches. It had inherited from the AI and move towards the methods and model. It had borrowed from statistics and probability Theory. So let's proceed and see what exactly is machine learning. Well Machine learning is a subset of AI which enables the computer to act and make data-driven decisions to carry out a certain task.

These programs are algorithms are designed in a way that they can learn and improve over time when exposed to new data. Let's see an example of machine learning. Let's say you want to create a system which tells the expected weight of a person based on its side. The first thing you do is you collect the data. Let's see there is how your data looks like now each point on the graph represent one data point to start with we can draw a simple line to predict the weight based on the height for Sample a simple line W equal x minus hundred with W is waiting kgs and edges hide and centimeter this line can help us to make the prediction. Our main goal is to reduce the difference between the estimated value and the actual value. So in order to achieve it, we try to draw a straight line that fits through all these different points and minimize the error. So our main goal is to minimize the error and make them as small as possible decreasing the error

or the difference between the actual value and estimated. Value increases the performance of the model further on the more data points. We collect the better. Our model will become we can also improve our model by adding more variables and creating different production lines for them. Once the line is created. So from the next time if we feed a new data, for example height of a person to the model, it would easily predict the data for you and it will tell you what has predicted weight could be. I hope you got a clear understanding of machine learning. So moving on ahead. Let's learn about deep learning now what is deep learning? You can consider deep learning model as a rocket engine and its fuel is its huge amount of data that we feed to these algorithms the concept of deep learning is not new, but recently it's hype as increase and deep learning is getting more attention. This field is a particular kind of machine learning that is inspired by

the functionality of our brain cells called neurons which led to the concept of artificial neural network. It simply takes the data connection between all the artificial neurons and adjust them according to the data pattern. More neurons are added at the size of the data is large it automatically features learning at multiple levels of abstraction. Thereby allowing a system to learn complex function mapping without depending on any specific algorithm. You know, what no one actually knows what happens inside a neural network and why it works so well, so currently you can call it as a black box. Let us discuss some of the example of deep learning and understand it in a better way. Let me start with in simple example and explain you how things And at a conceptual level, let us try and understand how you would recognize a square from other shapes. The first thing you do is you check whether there are four lines associated with a figure or not simple concept, right? If yes, we further check

if they are connected and closed again a few years. We finally check whether it is perpendicular and all its sides are equal, correct. If everything fulfills. Yes, it is a square. Well, it is nothing but a nested hierarchy of Concepts. What we did here we took a complex task of identifying a square and this case and broken into simpler tasks. Now this deep learning also does the same thing but at a larger scale, let's take an example of machine which recognizes the animal the task of the machine is to recognize whether the given image is of a cat or a dog. What if we were asked to resolve the same issue using the concept of machine learning what we would do first. We would Define the features such as check whether the animal has whiskers or not a check. The animal has pointed ears or not or whether its tail is straight or curved in short. We will Define the facial features and let the system identify which features are more important in classifying a particular animal now

when it comes to deep learning it takes this to one step ahead deep learning automatically finds are the feature which are most important for classification compare into machine learning where we had to manually give out that features by now. I guess you have understood that AI is the bigger picture and machine learning and deep learning are it's apart. So let's move on and focus our discussion on machine learning and deep learning the easiest way to understand the difference between the machine learning and deep learning is to know that deep learning is machine learning more specifically. It is the next evolution of machine learning. Let's take few important parameter and compare machine learning with deep learning. So starting with data dependencies, the most important difference between deep learning and machine learning is its performance as the volume of the data gets From the below graph. You can see that when the size of the data is small deep learning algorithm

doesn't perform that well, but why well, this is because deep learning algorithm needs a large amount of data to understand it perfectly on the other hand the machine learning algorithm can easily work with smaller data set fine. Next comes the hardware dependencies deep learning algorithms are heavily dependent on high-end machines while the machine learning algorithm can work on low and machines as Well, this is because the requirement of deep learning algorithm include gpus which is an integral part of its working the Deep learning algorithm requires gpus as they do a large amount of matrix multiplication operations, and these operations can only be efficiently optimized using a GPU as it is built for this purpose. Only our third parameter will be feature engineering well feature engineering is a process of putting the domain knowledge to reduce the complexity of the data. Make patterns more visible to learning algorithms. This process is difficult and expensive in terms of time

and expertise in case of machine learning most other features are needed to be identified by an expert and then hand coded as per the domain and the data type. For example, the features can be a pixel value shapes texture position orientation or anything fine the performance of most of the machine learning algorithm depends on how accurately the features are identified and stood where as in case of deep learning algorithms it try to learn high level features from the data. This is a very distinctive part of deep learning which makes it way ahead of traditional machine learning deep learning reduces the task of developing new feature extractor for every problem like in the case of CNN algorithm it first try to learn the low-level features of the image such as edges and lines and then it proceeds to the parts of faces of people and then finally to the high-level representation of the face. I hope that things Getting clearer to you. So let's move on ahead and see the next parameter.

So our next parameter is problem solving approach when we are solving a problem using traditional machine learning algorithm. It is generally recommended that we first break down the problem into different sub parts solve them individually and then finally combine them to get the desired result. This is how the machine learning algorithm handles the problem on the other hand the Deep learning algorithm solves the problem from end to end. Let's take an example. To understand this suppose you have a task of multiple object detection. And your task is to identify. What is the object and where it is present in the image. So, let's see and compare. How will you tackle this issue using the concept of machine learning and deep learning starting with machine learning in a typical machine learning approach. You would first divide the problem into two step first object detection and then object recognization. First of all, you would use a bounding box detection algorithm like grab could fight.

Sample to scan through the image and find out all the possible objects. Now, once the objects are recognized you would use object recognization algorithm, like svm with hog to recognize relevant objects. Now finally when you combine the result you would be able to identify. What is the object and where it is present in the image on the other hand in deep learning approach. You would do the process from end to end for example in a yellow net which is a type of deep learning algorithm you would pass. An image and it would give out the location along with the name of the object. Now, let's move on to our fifth comparison parameter its execution time. Usually a deep learning algorithm takes a long time to train this is because there's so many parameter in a deep learning algorithm that makes the training longer than usual the training might even last for two weeks or more than that. If you are training completely from the scratch, whereas in the case of machine learning,

it relatively takes much less time to train ranging from a few weeks. Too few Arts. Now. The execution time is completely reversed when it comes to the testing of data during testing the Deep learning algorithm takes much less time to run. Whereas if you compare it with a KNN algorithm, which is a type of machine learning algorithm the test time increases as the size of the data increase last but not the least we have interpretability as a factor for comparison of machine learning and deep learning. This fact is the main reason why deep learning is still thought ten times before anyone knew. Uses it in the industry. Let's take an example suppose. We use deep learning to give automated scoring two essays the performance it gives and scoring is quite excellent and is near to the human performance, but there's an issue with it. It does not reveal white has given that score indeed mathematically. It is possible to find out that which node of a deep neural network were activated,

but we don't know what the neurons are supposed to model and what these layers of neurons are doing collectively. So if To interpret the result on the other hand machine learning algorithm, like decision tree gives us a crisp rule for void chose and watered chose. So it is particularly easy to interpret the reasoning behind therefore the algorithms like decision tree and linear or logistic regression are primarily used in industry for interpretability. Let me summarize things for you machine learning uses algorithm to parse the data learn from the data and make informed decision based on what it has learned fine. in this deep learning structures algorithms in layers to create artificial neural network that can learn and make Intelligent Decisions on their own finally deep learning is a subfield of machine learning while both fall under the broad category of artificial intelligence deep learning is usually what's behind the most human-like artificial intelligence now

in early days scientists used to have a lab notebook to Test progress results and conclusions now Jupiter is a modern-day to that allows data scientists to record the complete analysis process much in the same way other scientists use a lab notebook. Now, the Jupiter product was originally developed as a part of IPython project the iPad and project was used to provide interactive online access to python over time. It became useful to interact with other data analysis tools such as are in the same manner with the split from python the tool crew in in his current manifestation of Jupiter. Now IPython is still an active tool that's available for use. The name Jupiter itself is derived from the combination of Julia Python. And our while Jupiter runs code in many programming languages python is a requirement for installing the jupyter notebook itself now to download jupyter notebook. There are a few ways in their official website. It is strongly recommended installing Python and Jupiter

using Anaconda distribution, which includes python Don't know what book and other commonly used packages for scientific Computing as well as data science. Although one can also do so using the pipe installation method personally. What I would suggest is downloading an app on a navigator, which is a desktop graphical user interface included in Anaconda. Now, this allows you to launch application and easily manage conda packages environments and channels without the need to use command line commands. So all you need to do is go to another Corner dot orgy and inside you go. To Anaconda Navigators. So as you can see here, we have the conda installation code which you're going to use to install it in your particular PC. So either you can use these installers. So once you download the Anaconda Navigator, it looks something like this. So as you can see here, we have Jupiter lab jupyter notebook you have QT console, which is IPython console. We have spider which is somewhat similar to a studio

in terms of python again, we have a studio so we have orange three We have glue is and we have VSC code. Our Focus today would be on this jupyter notebook itself. Now when you launch the Navigator, you can see there are many options available for launching python as well. As our instances Now by definition are jupyter. Notebook is fundamentally a Json file with a number of annotations. Now, it has three main parts which are the metadata The Notebook format and the list of cells now you should get yourself acquainted with the environment that Jupiter user interface has a number of components. So it's important to know what our components you should be using on a daily basis and you should get acquainted with it. So as you can see here our Focus today will be on the jupyter notebook. So let me just launched the Japan and notebook. Now what it does is creates a online python instance for you to use it over the web. So let's launch now as you can see we have Jupiter on the top left

as expected and this acts as a button to go to your home page whenever you click on this you get back to your particular home paste. Is the dashboard now there are three tabs displayed with other files running and clusters. Now, what will do is will understand all of these three and understand what are the importance of these three tabs other file tab shows the list of the current files in the directory. So as you can see we have so many files here. Now the running tab presents another screen of the currently running processes and the notebooks now the drop-down list for the terminals and notebooks are populated with there. Running numbers. So as you can see inside, we do not have any running terminals or there no running notebooks as of now and the cluster tab presents another screen to display the list of clusters available see in the top right corner of the screen. There are three buttons which are upload new and the refresh button. Let me go back so you can see here.

We have the upload new and the refresh button. Now the upload button is used to add files to The Notebook space and you may also just drag and drop as you would when handling files. Similarly, you can drag and drop notebooks into specific folders as well. Now the menu with the new in the top residents of further many of text file folders terminal and Python 3. Now, the test file option is used to add a text file to the current directory Jupiter will open a new browser window for you for the running new text editor. Now, the text entered is automatically saved and will be displayed in your notebooks files display. Now the folder option what it does is creates a new folder. With the name Untitled folder and remember all the files and folder names are editable. Now the terminal option allows you to start and IPython session. The node would options available will be activated when additional note books are available in your environment.

The Python 3 option is used to begin pythons recession interactively in your note. The interface looks like the following screen shot. Now what you have is full file editing capabilities for your script including saving as new file. You also have a complete ID for your python script now we come to the refresh button. The refresh button is used to update the display. It's not really necessary as a display is reactive to any changes in the underlying file structure. I had a talk with the files tab item. There is a check box drop down menu and a home button as you can see here. We have the checkbox the drop-down menu and the home button. Now the check box is used to toggle all the checkboxes in the item list. So as you can see you can select all of these when either move or either delete all of the file selected, It or what you can do is select all and deselect some of the files as your wish now the drop down menu presents a list of choices available,

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent