Python is one of the famous programming languages and it is so common for Machine Learning.
It is a multi-purpose language that has been leveraged with the aim of device programming, object-oriented programming, machine learning and so forth.
In this post, I will introduce some of the common Python IDE programming environment for the aim of machine learning and also how to install some important packages.
Python IDE
There are different IDEs that you can use. According to DataCamp website, there is 5 top environment for writing code, among them, I start to work with two of them.
Spyder: the environment is so similar to Rstuido, so if you switching from R to Python, it is a really good choice. It will be supported in Windows and MacOS. and it can be download from Anaconda website.
Rodeo, Is another Python IDE that is so similar to RStudio. you can download it from https://www.yhat.com/products/rodeo.
PyCharm, is another IDE for writing Python codes. Azure ML workbench current versions support this IDE. https://www.jetbrains.com/pycharm/
Jupyter, is another IDE for writing Python code, Jupyter can be accessed via browser or via a desktop version.
Python Shell, However, when you download the Python a simple IDE as Python Shell also will be downloaded that is much easier to use. This IDE is not user-friendly as the other one.
How to start
To work with Python, there is a need to get familiar with the basic language. The first step is to install some required packages.
Hence, you need to install packages such as:
- scipy
- numpy
- matplotlib
- pandas
- sklearn
To install these packages, you need to run the below code on the Rodeo.
import sys print('Python: {}'.format(sys.version)) # scipy import scipy print('scipy: {}'.format(scipy.__version__)) # numpy import numpy print('numpy: {}'.format(numpy.__version__)) # matplotlib import matplotlib print('matplotlib: {}'.format(matplotlib.__version__)) # pandas import pandas print('pandas: {}'.format(pandas.__version__)) # scikit-learn import sklearn print('sklearn: {}'.format(sklearn.__version__))
In the next posts, I will explained how to write simple Python code.
https://www.datacamp.com/community/tutorials/data-science-python-ide