Experience low-code functionality by utilizing Azure Machine Learning studio to generate datasets. These datasets enable you to maintain a singular data copy within your storage, which will be referred to by the datasets themselves.
In this tutorial, we will utilize the Python programming language to acquire knowledge about machine learning. Therefore, it is imperative to have compatible Integrated Development Environments (IDEs) installed on our computer system to use Python for machine learning.
In this subject, we will gain knowledge about the installation of Python and an IDE facilitated by the Anaconda distribution.
The Anaconda distribution is an open-source and no-cost platform for programming languages like Python and R that can be effortlessly installed on various operating systems, including Windows, Linux, and MAC. With over 1500 packages for Python/R data science, it’s an ideal solution for those who want to develop machine learning and deep learning models.
Anaconda distribution offers a hassle-free solution to install Python along with a range of IDEs like Jupyter Notebook, Spyder, Anaconda prompt, among others. This packaged solution can be effortlessly downloaded and installed on your computer, and it automatically installs Python, a few essential IDEs, and libraries.
The process of downloading and installing Anaconda and IDE can be demonstrated through the following steps.
Step-1: Download Anaconda Python:
- To acquire Anaconda software for your system, begin by opening a preferred browser. Then, either click the first link displayed in the image below after typing “Download Anaconda Python” or utilize this direct link: https://www.anaconda.com/distribution/#download-section.
- Upon selecting the initial hyperlink, you will be directed to Anaconda’s download page, depicted in the image below.
- Anaconda can be downloaded for Windows, Linux, or Mac OS by selecting the appropriate option from the image below. Both Python 2.7 and Python 3.7 versions are available, but it is recommended to download the latest version, which is Python 3.7. Once you click on the download option, Anaconda will start downloading to your computer.
In this topic, we are downloading Anaconda for Windows you can choose it as per your OS.
Step- 2: Install Anaconda Python (Python 3.7 version):
After the download process finishes, navigate to the “downloads” folder and double-click on the Anaconda3-2019.03-Windows-x86_64.exe file. This action will launch the setup window for Anaconda installations, which is displayed in the image below. Proceed by clicking on “Next”.
- Once the License agreement window appears, proceed by selecting the “I Agree” option.
- Upon reaching the subsequent window, two installation options will be presented to you, as displayed in the image below. Opt for the initial selection labeled as “Just me” and proceed by selecting “Next”.
- Upon reaching the installation window, you may opt to leave the location as default or select a new one by browsing, before clicking the Next button. Please refer to the accompanying image for guidance.
- Choose the second option and then proceed to select the “install” button.
- After the completion of the installation process, select the option labeled as “Next”.
- Once the installation is finished, you can choose to check the box for additional information on Anaconda and its cloud platform. Finally, click on “Finish” to complete the process.
Here, we will use the Spyder IDE to run Python programs.
Step- 3: Open Anaconda Navigator
- Upon completing the installation of Anaconda, the Anaconda navigator can be utilized to launch various Python IDEs like Spyder and Jupyter Notebook.
To launch Anaconda Navigator, use the Windows key
to search for it and click on the application. The image below can guide you through the process.
- The Spyder IDE can be launched by clicking on the “Launch” button located underneath its name in the navigator. This action will install the IDE onto your system.
Execute your Python code in the Spyder Integrated Development Environment (IDE).
- Launch the Spyder IDE, and it will resemble the image displayed below.
- Create and save your initial program with the file extension .py.
- Execute the program by clicking on the “Run” button located next to the triangle symbol.
- The program’s output is viewable on the console pane located at the bottom-right side.