Python_and_Machine_Learning
Python_and_Machine_Learning
Abstract—Python is gaining the popularity. level language. Python offers three main paradigm
In this paper we have tried to find the to its developers namely, object orientation, func-
characteristics of Python language that helps
tional and structured programming. Python has
it gain the attention of the programmers. This
paper is an initiative to review the role of multiple implementations, the most popular one is
Python in machine learning. Machine Cpython- a default implementation. Other python
learning is the most happening technology of
implementations are Jpython – scripted in Java,
todays'sworld.The main aim of Machine
Learning is to allow the computers learn PyPy – written in Rpython, Iron-Pyhton written in
automatically without human intervention and C#. These implementations work in the native lan-
adjust its actions accordingly. In this paper
guage they are written in but are capable of inte-
main focus is on the popularity of the Python
as a language preferred by the developers racting with other languages through the use of
forMachine Learning. We have included the modules. Most of these implementations are pen
statistics of other computer languages and source and free.
Python to support the popularity of Python in
machine learning. The main focus is on the Python is the most preferred language over other
topic “ Python - the ideal language for languages like Java, C and C++ by the program-
Machine Learning” mers.Most of the software development companies
Index Terms—Machine Learning with prefer Python as a programming language because
Python, Popular language for Machine
Learning, Python programming, Python then of its fewer coding lines and versatile features.
and now, Python implementations. Some applications of Python are:
Image processing and Graphic design
Unsupervised learning
Unsupervised learning is learning without la-
bels. It aims to detect the characteristics that make
Kaggle‘s poll results in 2011 is as follows:
the data more or less similar to each other. For ex-
ample, creating clusters and assigning data to these
clusters.
Reinforcement learning
Reinforcement learning lies between unsu-
pervised and supervised learning. It focuses on
learning from experience.
big data – over and over, faster and faster is a recent Ensemble modeling
development.
3.4 Who is Using Machine Learning?
Few examples of machine learning applications:
The self-driving Google car Most industries working with large amounts of
data have recognized the importance of machine
Online recommendation offers such as Ama-
learning technology. By gleaning insights from this
zon
data (often in real time) organizations are able to
Knowing what customers are saying about
work more efficiently or gain advantage over com-
you on Twitter – Machine learning combined
petitors.
with linguistic rule creation
Fraud detection
Financial services
3.2 Why is Machine Learning Important? Banks and other businesses in the financial
The popularity of machine learning is due to the industry use machine learning technology for two
same factors that have made data mining and Baye- key purposes: to identify important insights in data,
sian analysis more popular than ever. Things like and prevent fraud. The insights can identify in-
growing volumes and varieties of available data, vestment opportunities, help investors know when
computational processing that is cheaper and more to trade. Data mining can also identify clients with
powerful, and affordable data storage. high risk profiles, use cyber surveillance to pinpoint
All of these makes me possible to quickly and warning signs of fraud.
automatically produce models that can analyze big-
Government
ger, more complex data and deliver faster, more
Government agencies such as public safety
accurate results- even on a very large scale. Build-
and utilities have a particular need for machine
ing precise models, an organization has better
learning since hay have multiple sources of data
chance of identifying profitable opportunities or
that can be mined for insights. Analyzing sensor
avoiding unknown risks.
data, for example, identifies ways to increase effi-
ciency and save money. Machine learning can also
3.3 What is Required to Create Good Machine
help detect fraud and minimizing identity theft.
Learning Systems?
Data preparation capabilities Health care
Algorithms – basic and advanced Machine learning is a fast growing trend in
Automation and iterative processes the health care industry, wearable devices and sen-
Scalability sors can use data asses a patient‘s health in real
time. The technology can also help medical exerts Python. PyBrain is implemented in Python, with the
analyze data to identify trends or red flags that may scientific library SciPy. Pybrain is designed to be
lead to improved diagnoses and treatment. able to connect various types of architectures and
algorithms. PyBrain provides a toolbox for super-
Oil and gas
vised, unsupervised and reinforcement learning as
Finding new energy sources. Analyzing min-
well as black box and multi objective optimization.
erals in the ground. Predicting refinery sensor fail-
The library includes different types of training
ure. Streamlining oil distribution to make it more
algorithms, specialized data sets, trainable architec-
efficient and cost effective. The number of machine
tural components etc. Appropriate data handling
learning use cases for this industry is vast and still
tools have been developed for special applications
expanding.
reinforcement learning, handwriting recognition
applications.
Marketing and Sales
Websites recommending items you might like
based on previous purchases are using machine lea- 4.1 What’s Unique in Pybrain
vening to analyze your buying history – and pro- PyBrain is short forPython-Based Reinforcement
mote other items you‘d be interested in. This ability Learning, Artificial Intelligence and Neural Net-
to capture data, analyze it and use it to personize a work Library. Amongst few machine learning libra-
shopping experience or implementing a marketing ries available, PyBrain aims to be very easy-to-use
campaign is the future of retail. modular library that offers flexibility and algo-
rithms for research.
Transportation PyBrain contains algorithms for neural networks,
Analyzing data to identify patterns and trends for reinforcement learning (and the combination of
is key to the transportation industry, which relies on the two), for unsupervised learning and evolution.
making routes more efficient and predicting poten- The library is used around neural networks in the
tial problems to increase profitability. The data kernel and all of the training methods accept a
analysis and modeling aspects of machine learning neural network as the to-be-trained instance. This
are important tools to delivery companies, public makes PyBrain powerful tool for real-life tasks.
transportation and other transportation organiza-
tions. 4.2 Using PyBrain
PyBrain is open source and free to use for everyone
4. PYTHON’S PYBRAIN
(it is licensed under the BSD Software License).
PyBrain is a machine learning library written in We can download it and start using the algorithms
[1] J.S. Bridle, ―Probabilistic Interpretation of Feed tive Controllers,‖ Proc. Fourth Ann. Allerton
forward Classification Network Outputs, with Rela- Conf. Circuits and Systems Theory, pp. 8-16,
computing—Algorithms, Architectures and Applica- [6] H. Goto, Y. Hasegawa, and M. Tanaka, ―Effi-
tions, F. Fogelman-Soulie and J. Herault, eds., cient Scheduling Focusing on the Duality of
NATO ASI Series F68, Berlin: Springer-Verlag, pp. MPL Representation,‖ Proc. IEEE Symp. Com-
227-236, 1989. (Book style with paper title and edi- putational Intelligence in Scheduling(SCIS
[2] Mrs. Smita Desai, Miss. Shreya Desai ―Smart Ve- doi:10.1109/SCIS.2007.367670. (Conference
[3] W.-K. Chen, Linear Networks and Systems. sertation, Dept. of Electrical Eng., Harvard Un-
Belmont, Calif.: Wadsworth, pp. 123-135, iv., Cambridge, Mass., 1993. (Thesis or disserta-
[4] D.S. Coming and O.G. Staadt, "Velocity- [8] J.M.P. Martinez, R.B. Llavori, M.J.A. Cabo,
Aligned Discrete Oriented Polytopes for Dy- and T.B. Pedersen, "Integrating Data Ware-
namic Collision Detection," IEEE Trans. Vi- houses with Web Data: A Survey," IEEE
sualization and Computer Graphics, vol. 14, Trans. Knowledge and Data Eng., preprint, 21
tions )