How to Setup a Machine Learning and AI Environment
Key Takeaways
This video covers the setup of a machine learning and AI environment, including installing Python, setting up a code editor with VS Code, and installing necessary libraries and frameworks such as TensorFlow and Pandas.
Full Transcript
[Music] hi everyone and welcome to today's video we're gonna go over how to set up your machine learning and AI environment on your PC or laptop we're going to cover the basics of what programming languages use the code editor and some strong libraries and frameworks so let's jump into the video all right so the steps to writing ml and AI code the very first step you're gonna want to do is to install your programming language for this video and the purpose of ml and AI code I think it's a best practice to use the Python programming language due to its simplicity and it's very flexible and really just offers a wide range of very powerful frameworks and libraries for that reason we're gonna be covering Python so now I'm going to show you how to install Python awesome so first things first is we're gonna want to go ahead and get our programming language and interpreter set up I recommend for machine learning and AI that we use Python so I'm gonna do that so we're gonna go to download Python we're gonna go ahead here and click on this first link and that brings us to the Python page for most of you if you're on a Windows machine or just gonna want to go ahead and click the download Python at the top that'll give you the most recent up-to-date and bug free version if for some reason you need an older version you just scroll down and you can slide down this list and check out any of one of the old versions for me I'm gonna go for the most recent one here if we click on the link and then scroll down we can see all the different operating system download so if you're looking for Linux you could go here Mac here since I'm on a Windows 64-bit machine I'm gonna go ahead and click one of those right away we see our download I'm gonna go ahead and click on the executable once it pops up you're gonna see the two different options the Install Now and the custom installation first before you choose one of these we're gonna want to go ahead and click the checkbox that says add python 3.7 to power this will make it easier to pip install packages and libraries later down the line for me I'm gonna go the install now because this includes pip and all the other great features that you're gonna want so I'm gonna go ahead and click that so I'm gonna go ahead and do that and then now we're gonna see how it's gonna go ahead and download yeah so we're seeing that it's downloading and we'll probably just wait until it finishes awesome and then once you get this message she set up with successful you're gonna want to go ahead and collect this disabled path length I just first features sake it's a good thing to do and now we're done and we have Python installed on our machine so now that we have python downloaded and installed it's on to the second step of running mo nai code so the second step is to install code editor I recommend for machine learning vs code because if it's super fast and lightweight as well it allows to easily download extensions on top locations so let's get that installed so we're gonna go ahead and get vs code downloaded and yes code download go I'm gonna go ahead and get the hit this first link and this brings us to the visual studio code download page so you're gonna want to go down here and choose the version that is suitable for your machine whether it's Windows the Linux or Mac once again I'm on a 64-bit Windows so I'm going to the user installer it's gonna bring us to a getting started page which is great for other in-depth details so you can peruse this site as you need but now we can see that's ready the executable someone's gonna pop up you're going to want to go through these steps to get it installed you're gonna accept this is where it'll download the name of the program and then this is just some configuration I like to create the desktop icon so I'm going to select that and if you have any other specifications you can go ahead shows the location install awesome so we're gonna go ahead and wait for this to download awesome so now we can see that it's downloaded we're gonna keep this text so that it launches we're gonna click finish so once the vs code automatically pops up it should either bring you to the Welcome page or to a release notes page if you're on the release notes page just click over to the welcome so now comes the time where we need to connect our vs code to our Python that we downloaded earlier and to do this we go to the customize tools and languages and then we click on Python we click OK and this should go ahead and download the python extension 2 vs code so we can see that it's just doing that so we'll give it a sec and then once it's done we can go over to the extensions and we can see that it's installing Oh perfect it's finishing up right now it's done now we can see that is successfully installed so now we're going to verify that everything works by doing a little hello world program so I'm gonna go to my folder new file hello pi and we're just gonna do a very simple Python hello world and now if we right click on the screen run Python file in terminal we can see that we successfully down here have hello world so our vs code and our Python are working together another way to verify that is in the bottom left we can see the Python version that we downloaded earlier so now that we have our code editor downloaded and installed and integrated with Python and now comes to step number three so step three said download libraries and frameworks that can use it Python I thought has a vast amount of powerful tools frameworks and libraries that can be used alongside it so just to mention on screen we've got matplotlib numpy tensorflow and pandas which are all used widely for machine learning and AI coating some honorable mentions are scifi Kiera's and Seaborn but now let's get into showing how to download one of these with our code editor vs code so if we come back to our hello world program and vs code we can now download dependency so the easiest way to install a framework or library and vs code is to go down to the terminal and do a pip install it's literally that easy so we would just let's say we want tensorflow that's 10 for some grade api's for machine learning and AI so I will go pip install tensorflow and it's that easy now it's collecting tensorflow and tensorflow will download and when it's done we can move on to another library such as pandas pandas is great for data frames and using data set with your data sets so it's literally that easy it's downloading now we won't wait for it to download so now that we've successfully pip installed tensorflow I just want to recap three steps that we covered in this video to writing ml nai code one we started with installing a programming language which preferably is Python to installing your code editor and integrating it with Python we use the vs code and third was showing you how to pip install libraries and frameworks within vs code to then use with Python so now you're pretty much up and ready environment setup you can now code ml nai and start creating smart applications that wraps up the video and I just wanted to say thanks for watching everyone if you could like and subscribe that'd be great and leave down below a couple comments on what videos you'd like to see next much appreciated thanks
Original Description
How to Setup a Machine Learning and AI Environment - A step-by-step tutorial on how to setup a development environment to begin coding and creating ML and AI solutions.
#machinelearning #ai #tutorial
In the video I cover:
1. Downloading and Installing Python as your programming language.
2. Downloading and Installing VS Code as your code editor.
3. How to integrate the two and get useful ML and AI libraries installed.
If you enjoyed the video, toss it a like! 👍
To Subscribe: https://www.youtube.com/channel/UCrydcKaojc44XnuXrfhlV8Q?sub_confirmation=1
Get Python Here: https://www.python.org/downloads
Get VS Code Here: https://code.visualstudio.com/download
Thanks so much for watching!
- The AI Guy
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from The AI Guy · The AI Guy · 1 of 28
← Previous
Next →
▶
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
How to Setup a Machine Learning and AI Environment
The AI Guy
Introduction to Machine Learning | | Learning ML with Scikit | Iris Dataset
The AI Guy
Introduction to Machine Learning | Learning ML with Scikit | Iris Dataset | Part 2
The AI Guy
How to Install OpenCV on Windows | OpenCV Python Tutorial | Setting up Computer Vision
The AI Guy
How to Build and Install OpenCV from Source | Using Visual Studio and CMake | Computer Vision
The AI Guy
YOLOv3 Object Detection with Darknet for Windows/Linux | Install and Run with GPU and OPENCV
The AI Guy
Creating a YOLOv3 Custom Dataset | Quick and Easy | 9,000,000+ Images
The AI Guy
Train YOLOv3 Custom Object Detector with Darknet | Aimbot and Security Camera | Fast and Easy
The AI Guy
Create Labels and Annotations for Custom YOLOv3 Google Images Dataset | LabelImg Tutorial
The AI Guy
How to Build an Object Detection Classifier with TensorFlow 2.0 on Windows/Linux
The AI Guy
YOLOv3 in the CLOUD : Install and Train Custom Object Detector (FREE GPU)
The AI Guy
A.I. Learns to Play World's Hardest Game (QWOP)
The AI Guy
How to Build Object Detection APIs Using TensorFlow and Flask
The AI Guy
Getting Started with Azure Machine Learning Studio
The AI Guy
Real-time Yolov3 Object Detection for Webcam and Video (using Tensorflow)
The AI Guy
How to Build an Object Tracker Using YOLOv3, Deep SORT and TensorFlow
The AI Guy
YOLOv4 in the CLOUD: Install and Run Object Detector (FREE GPU)
The AI Guy
YOLOv4 in the CLOUD: Build and Train Custom Object Detector (FREE GPU)
The AI Guy
YOLOv4 Object Detection with TensorFlow, TensorFlow Lite and TensorRT Models (images, video, webcam)
The AI Guy
How to Build a Custom YOLOv4 Object Detector using TensorFlow (License Plate Detector)
The AI Guy
Counting Objects Using YOLOv4 Object Detection | Custom YOLOv4 Functions with TensorFlow
The AI Guy
Object Tracking Using YOLOv4, Deep SORT, and TensorFlow
The AI Guy
Crop and Save YOLOv4 Object Detections | Custom YOLOv4 Functions with TensorFlow
The AI Guy
License Plate Recognition Using YOLOv4 Object Detection, OpenCV, and Tesseract OCR
The AI Guy
YOLOv4 in the CLOUD: Build Object Tracking Using DeepSORT in Google Colab (FREE GPU)
The AI Guy
How to Use Webcam In Google Colab for Images and Video (FACE DETECTION)
The AI Guy
Real-time YOLOv4 Object Detection on Webcam in Google Colab | Images and Video
The AI Guy
Getting Started with Agent Development Kit Tools (MCP, Google Search, LangChain, etc.)
The AI Guy
More on: ML Maths Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Medium · AI
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Medium · Data Science
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Medium · Deep Learning
Beyond the Elephant: On Manifolds, Projections, and the Hidden Assumptions of Neural Geometry
Medium · LLM
🎓
Tutor Explanation
DeepCamp AI