Introduction to Jupyter notebook and MS Azure Machine Learning Studio

M
Muralidharan DeenathayalanTechnical Lead em Quanticate
Introduction about Jupyter
Notebook and Azure Machine
Learning Studio
Muralidharan Deenathayalan,
Technical Architect, Quanticate
1
What is Python?
• Python is an interpreted language.
• Python is an object-oriented, high-level programming language for general-purpose programming
• Created by Guido van Rossum and first released in 1991
2
Advantages of Python
• Extensive Support Libraries
• Integration Feature
• Improved Programmer’s Productivity
Ref : https://medium.com/@mindfiresolutions.usa/advantages-and-disadvantages-of-python-programming-language-fd0b394f2121
3
What is R ?
• R is a language and environment for statistical computing and graphics.
• It is a GNU project which is similar to the S language and environment which was developed at Bell
Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues.
• R can be considered as a different implementation of S
Ref : https://www.r-project.org/about.html
4
Advantages of R
• An effective data handling and storage facility.
• Suite of operators for calculations on arrays, in particular matrices.
• A large, coherent, integrated collection of intermediate tools for data analysis.
• Graphical facilities for data analysis and display either on-screen or on hardcopy.
• A well-developed, simple and effective programming language which includes conditionals, loops, user-
defined recursive functions and input and output facilities
Ref : https://www.r-project.org/about.html
5
What is Julia?
• Julia is a high-level, high-performance dynamic programming language for numerical computing.
• Julia provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an
extensive mathematical function library.
• Julia’s Base library, largely written in Julia itself.
• It integrates mature, best-of-breed open source C and Fortran libraries for linear algebra, random
number generation, signal processing, and string processing.
Ref :https://julialang.org/
6
Advantages of Julia
• Multiple dispatch: providing the ability to define function behaviour across many combinations of
argument types.
• Good performance, approaching that of statically-compiled languages like C
• Built-in package manager
• Call Python functions: use the PyCall package
• Call C functions directly: no wrappers or special APIs
Ref :https://julialang.org/
7
Limitations of Julia
• Not fully stabilized
• Lesser scientific tools
• Slower
Ref : https://www.allerin.com/blog/big-data-python-r-or-julia
8
What is iPython?
• iPython – Interactive Python command shell.
• It provides a rich toolkit to help you make the most of using Python interactively.
• Its main components are:
• A powerful interactive Python shell
• A Jupyter kernel to work with Python code in Jupyter notebooks and other interactive frontends.
Ref : https://ipython.readthedocs.io/en/stable/
9
Advantages of iPython
• Comprehensive object introspection.
• Input history, persistent across sessions.
• Caching of output results during a session with automatically generated references.
• Extensible tab completion, with support by default for completion of python variables and keywords,
filenames and function keywords.
• Extensible system of ‘magic’ commands for controlling the environment and performing many tasks
related to iPython or the operating system.
Ref : https://ipython.readthedocs.io/en/stable/
10
Limitations of iPython
• No native code session save.
• Unnatural keyboard shortcuts and no syntax debugger.
• Code cell allows lines that are too long and has no wrapping / autoindent.
• No easy drag and rearrange code cells.
• No table of content to show where html headers are.
• No easy hiding of code cells / code output.
Ref : https://www.quora.com/What-are-the-limitations-of-IPython-Notebook
11
What is Jupyter?
• Ju(lia) + Py(thon) + (e)R
• The Jupyter Notebook is an open-source web application that allows you to create and share documents.
• This document contain live code, equations, visualizations and narrative text.
Ref : https://www.oreilly.com/ideas/what-is-jupyter
12
Advantages of Jupyter?
• Useful for data cleaning and transformation, numerical simulation, statistical modelling, data
visualization, machine learning, and much more.
• Language of choice  40+ Languages
• Notebooks can be shared with others using email, Dropbox, GitHub and the Jupyter Notebook Viewer.
• Your code can produce rich, interactive output: HTML, images, videos, and custom MIME types.
• Big data integration - Leverage big data tools, such as Apache Spark, from Python, R and Scala. Explore
that same data with pandas, scikit-learn, ggplot2, TensorFlow.
Ref : http://jupyter.org/
13
Limitations of Jupyter
• It messes with your version control.
• The Jupyter Notebook format is just a big JSON, which contains your code and the outputs of the code
• Code can only be run in chunks.
Ref : http://opiateforthemass.es/articles/why-i-dont-like-jupyter-fka-ipython-notebook/
14
History of Jupyter & iPython
• Initial release : 2001; 17 years ago
• In 2014, Fernando Pérez announced a spin-off project from IPython called Project Jupyter.
• In 2015, GitHub and the Jupyter Project announced native rendering of Jupyter notebooks file format
(.ipynb files) on the GitHub platform.
Ref : https://en.wikipedia.org/wiki/IPython , https://en.wikipedia.org/wiki/Project_Jupyter#History
15
How Jupyter works?
Ref : https://en.wikipedia.org/wiki/IPython , https://en.wikipedia.org/wiki/Project_Jupyter#History
16
What is kernel in Jupyter?
• A notebook kernel is a “Computational Engine” that executes the code contained in a Notebook
document.
Ref : http://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/what_is_jupyter.html
17
List of available Jupyter kernels
• There are 100+ kernels available (as of 22/11/2018)
• Interesting kernels are,
• IPyKernel
• IRKernel
• sas_kernel
• Ijava
• ICSharp
Ref : https://github.com/jupyter/jupyter/wiki/Jupyter-kernels
18
Installation of Jupyter Notebook
• http://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/install.html
19
Jupyter Notebook on Cloud
• Navigate to https://notebooks.azure.com/
• Click Samples to navigate to https://notebooks.azure.com/Microsoft/libraries/samples
• Click anyone of the sample
• Click Clone option (You may get login dialog (if you’re not signed in, use your Hotmail/outlook/skype)
and login.)
• Enter library name and click Clone button
• Click on “Introduction to Python” sample and it launches, Jupyter notebook on Azure
• Select the statements on starts with In[1] … and select click Run button in the toolbar.
20
Sample Jupyter Notebook
• A simple python code sample from Jupyter Notebook.
21
Sample Jupyter Notebook
• Fetching data from Azure Machine Learning Studio to Jupyter Notebook.
22
What is Machine Learning(ML)?
• Machine Learning is about using the data you already have to make predictions.
• Machine Learning methods
Supervised machine learning algorithms
 Logistic Regression.
 Linear regression.
 Support vector machine (SVM)
Unsupervised machine learning algorithms
 K – means clustering
 Hierarchical clustering
 Hidden Markov models
Semi-supervised machine learning algorithms
Reinforcement machine learning algorithms
Ref : https://news.codecademy.com/what-is-machine-learning/, https://www.expertsystem.com/machine-learning-definition/ , http://dataaspirant.com/2014/09/19/supervised-and-
unsupervised-learning/ 23
Microsoft Azure Machine Learning Studio
• Navigate to https://studio.azureml.net/ (Sign- in, if not.)
24
Python and Azure ML
25
Python and Azure ML
import pandas as pd
def azureml_main(dataframe1):
for index, row in dataframe1.iterrows():
row[0]="Hello " + row[0] +"!"
# Return value must be of a sequence of pandas.DataFrame
return dataframe1
26
Python and Azure ML
27
Python and Azure ML Demo
Demo
28
R and Azure ML
29
R and Azure ML
dataset1 <- maml.mapInputPort(1)#class: data.frame
data.set <- data.frame(response=paste0("Hello ",dataset1$Names,"!"))
maml.mapOutputPort("data.set");
30
R and Azure ML
31
R and Azure ML Demo
Demo
32
Python, R and Azure ML
33
Q & A
Q & A
34
Keep in touch
Muralidharan Deenathayalan
Blogs : www.codingfreaks.net
Twitter : https://twitter.com/muralidharand
GitHub : https://github.com/muralidharand
LinkedIn : https://www.linkedin.com/in/muralidharand
35
Thanks
Thank you !
36
1 de 36

Recomendados

P1 2018 python por
P1 2018 pythonP1 2018 python
P1 2018 pythonProf. Wim Van Criekinge
1.7K visualizações106 slides
Python programming por
Python programmingPython programming
Python programmingMegha V
940 visualizações20 slides
P1 2017 python por
P1 2017 pythonP1 2017 python
P1 2017 pythonProf. Wim Van Criekinge
2.3K visualizações105 slides
Introduction to python por
Introduction to pythonIntroduction to python
Introduction to pythonNikhil Kapoor
467 visualizações16 slides
Jupyter notebooks on steroids por
Jupyter notebooks on steroidsJupyter notebooks on steroids
Jupyter notebooks on steroidsJose Enrique Ruiz
1.2K visualizações35 slides
Python presentation by Monu Sharma por
Python presentation by Monu SharmaPython presentation by Monu Sharma
Python presentation by Monu SharmaMayank Sharma
903 visualizações14 slides

Mais conteúdo relacionado

Mais procurados

Fantasy cricket game using python(intershala project) por
Fantasy cricket game using python(intershala project)Fantasy cricket game using python(intershala project)
Fantasy cricket game using python(intershala project)Rr
2.9K visualizações33 slides
Programming with Python: Week 1 por
Programming with Python: Week 1Programming with Python: Week 1
Programming with Python: Week 1Ahmet Bulut
442 visualizações39 slides
Python presentation por
Python presentationPython presentation
Python presentationgaganapponix
289 visualizações8 slides
IPython: A Modern Vision of Interactive Computing (PyData SV 2013) por
IPython: A Modern Vision of Interactive Computing (PyData SV 2013)IPython: A Modern Vision of Interactive Computing (PyData SV 2013)
IPython: A Modern Vision of Interactive Computing (PyData SV 2013)PyData
2.7K visualizações38 slides
11 Unit1 Chapter 1 Getting Started With Python por
11   Unit1 Chapter 1 Getting Started With Python11   Unit1 Chapter 1 Getting Started With Python
11 Unit1 Chapter 1 Getting Started With Pythonpraveenjigajinni
7.3K visualizações125 slides
Python for All por
Python for All Python for All
Python for All Pragya Goyal
1.1K visualizações17 slides

Mais procurados(20)

Fantasy cricket game using python(intershala project) por Rr
Fantasy cricket game using python(intershala project)Fantasy cricket game using python(intershala project)
Fantasy cricket game using python(intershala project)
Rr 2.9K visualizações
Programming with Python: Week 1 por Ahmet Bulut
Programming with Python: Week 1Programming with Python: Week 1
Programming with Python: Week 1
Ahmet Bulut442 visualizações
Python presentation por gaganapponix
Python presentationPython presentation
Python presentation
gaganapponix289 visualizações
IPython: A Modern Vision of Interactive Computing (PyData SV 2013) por PyData
IPython: A Modern Vision of Interactive Computing (PyData SV 2013)IPython: A Modern Vision of Interactive Computing (PyData SV 2013)
IPython: A Modern Vision of Interactive Computing (PyData SV 2013)
PyData2.7K visualizações
11 Unit1 Chapter 1 Getting Started With Python por praveenjigajinni
11   Unit1 Chapter 1 Getting Started With Python11   Unit1 Chapter 1 Getting Started With Python
11 Unit1 Chapter 1 Getting Started With Python
praveenjigajinni7.3K visualizações
Python for All por Pragya Goyal
Python for All Python for All
Python for All
Pragya Goyal1.1K visualizações
Python Introduction por Sofian Hadiwijaya
Python IntroductionPython Introduction
Python Introduction
Sofian Hadiwijaya1.3K visualizações
summer training report on python por Shubham Yadav
summer training report on pythonsummer training report on python
summer training report on python
Shubham Yadav71.3K visualizações
An Introduction To Python - Python, Print() por Blue Elephant Consulting
An Introduction To Python - Python, Print()An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()
Blue Elephant Consulting835 visualizações
Getting Started with Python por Sankhya_Analytics
Getting Started with PythonGetting Started with Python
Getting Started with Python
Sankhya_Analytics2K visualizações
Introduction to Natural Language Processing por Peter Molnar
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
Peter Molnar865 visualizações
Python | What is Python | History of Python | Python Tutorial por QA TrainingHub
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub3.4K visualizações
Toward a gui remote-sensing environment built over OTB por melaneum
Toward a gui remote-sensing environment built over OTBToward a gui remote-sensing environment built over OTB
Toward a gui remote-sensing environment built over OTB
melaneum630 visualizações
What is Python? | Edureka por Edureka!
What is Python? | EdurekaWhat is Python? | Edureka
What is Python? | Edureka
Edureka!860 visualizações
Python 101 for the .NET Developer por Sarah Dutkiewicz
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET Developer
Sarah Dutkiewicz7 visualizações
A Sneak Peek of MLIR in TensorFlow por Koan-Sin Tan
A Sneak Peek of MLIR in TensorFlowA Sneak Peek of MLIR in TensorFlow
A Sneak Peek of MLIR in TensorFlow
Koan-Sin Tan2.4K visualizações
Obj report por Manish Raghav
Obj reportObj report
Obj report
Manish Raghav543 visualizações
Python Programming por shahid sultan
Python ProgrammingPython Programming
Python Programming
shahid sultan374 visualizações
Introduction about Python by JanBask Training por JanBask Training
Introduction about Python by JanBask TrainingIntroduction about Python by JanBask Training
Introduction about Python by JanBask Training
JanBask Training776 visualizações
Python quick guide1 por Kanchilug
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug 3.2K visualizações

Similar a Introduction to Jupyter notebook and MS Azure Machine Learning Studio

Python workshop por
Python workshopPython workshop
Python workshopMarie Behzadi
68 visualizações33 slides
Python workshop por
Python workshopPython workshop
Python workshopShiraz LUG
134 visualizações33 slides
What is python por
What is pythonWhat is python
What is pythonfaizrashid1995
61 visualizações14 slides
PYTHON UNIT 1 por
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1nagendrasai12
14 visualizações330 slides
Introduction to python history and platforms por
Introduction to python history and platformsIntroduction to python history and platforms
Introduction to python history and platformsKirti Verma
20 visualizações22 slides
Python programming ppt.pptx por
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptxnagendrasai12
17 visualizações164 slides

Similar a Introduction to Jupyter notebook and MS Azure Machine Learning Studio(20)

Python workshop por Marie Behzadi
Python workshopPython workshop
Python workshop
Marie Behzadi68 visualizações
Python workshop por Shiraz LUG
Python workshopPython workshop
Python workshop
Shiraz LUG134 visualizações
What is python por faizrashid1995
What is pythonWhat is python
What is python
faizrashid199561 visualizações
PYTHON UNIT 1 por nagendrasai12
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1
nagendrasai1214 visualizações
Introduction to python history and platforms por Kirti Verma
Introduction to python history and platformsIntroduction to python history and platforms
Introduction to python history and platforms
Kirti Verma20 visualizações
Python programming ppt.pptx por nagendrasai12
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
nagendrasai1217 visualizações
IPT 2.pptx por CHRISPay4
IPT 2.pptxIPT 2.pptx
IPT 2.pptx
CHRISPay413 visualizações
Introduction to Python Programming por Akhil Kaushik
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python Programming
Akhil Kaushik324 visualizações
Apresentação - Minicurso de Introdução a Python, Data Science e Machine Learning por Arthur Emanuel
Apresentação - Minicurso de Introdução a Python, Data Science e Machine LearningApresentação - Minicurso de Introdução a Python, Data Science e Machine Learning
Apresentação - Minicurso de Introdução a Python, Data Science e Machine Learning
Arthur Emanuel152 visualizações
DEMO On PYTHON WEB Development.pptx por SHAIKIRFAN715544
DEMO On PYTHON WEB Development.pptxDEMO On PYTHON WEB Development.pptx
DEMO On PYTHON WEB Development.pptx
SHAIKIRFAN7155444 visualizações
Programming for data science in python por UmmeSalmaM1
Programming for data science in pythonProgramming for data science in python
Programming for data science in python
UmmeSalmaM1144 visualizações
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal por Prof. Wim Van Criekinge
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
Prof. Wim Van Criekinge2.8K visualizações
Learning Python with PyCharm EDU por Sergey Aganezov
Learning Python with PyCharm EDU Learning Python with PyCharm EDU
Learning Python with PyCharm EDU
Sergey Aganezov2.1K visualizações
Class_X_PYTHON_J.pdf por SanjeedaPraween
Class_X_PYTHON_J.pdfClass_X_PYTHON_J.pdf
Class_X_PYTHON_J.pdf
SanjeedaPraween13 visualizações
Introduction to the intermediate Python - v1.1 por Andrei KUCHARAVY
Introduction to the intermediate Python - v1.1Introduction to the intermediate Python - v1.1
Introduction to the intermediate Python - v1.1
Andrei KUCHARAVY847 visualizações
Python For All | Software Professionals, QA & DevOps professionals por Nilesh Sutar
Python For All | Software Professionals, QA & DevOps professionalsPython For All | Software Professionals, QA & DevOps professionals
Python For All | Software Professionals, QA & DevOps professionals
Nilesh Sutar515 visualizações

Último

Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool por
Extending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPoolExtending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPool
Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPoolShapeBlue
123 visualizações10 slides
Business Analyst Series 2023 - Week 4 Session 7 por
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7DianaGray10
139 visualizações31 slides
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... por
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...ShapeBlue
119 visualizações17 slides
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue por
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
218 visualizações20 slides
Generative AI: Shifting the AI Landscape por
Generative AI: Shifting the AI LandscapeGenerative AI: Shifting the AI Landscape
Generative AI: Shifting the AI LandscapeDeakin University
53 visualizações55 slides
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... por
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...ShapeBlue
159 visualizações25 slides

Último(20)

Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool por ShapeBlue
Extending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPoolExtending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPool
Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool
ShapeBlue123 visualizações
Business Analyst Series 2023 - Week 4 Session 7 por DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10139 visualizações
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... por ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue119 visualizações
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue por ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue218 visualizações
Generative AI: Shifting the AI Landscape por Deakin University
Generative AI: Shifting the AI LandscapeGenerative AI: Shifting the AI Landscape
Generative AI: Shifting the AI Landscape
Deakin University53 visualizações
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... por ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue159 visualizações
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... por ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue166 visualizações
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... por James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson160 visualizações
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... por ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue173 visualizações
Qualifying SaaS, IaaS.pptx por Sachin Bhandari
Qualifying SaaS, IaaS.pptxQualifying SaaS, IaaS.pptx
Qualifying SaaS, IaaS.pptx
Sachin Bhandari1K visualizações
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... por ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue145 visualizações
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... por ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue126 visualizações
Future of AR - Facebook Presentation por Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty64 visualizações
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O... por ShapeBlue
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
ShapeBlue132 visualizações
Digital Personal Data Protection (DPDP) Practical Approach For CISOs por Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash158 visualizações
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue por ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue135 visualizações
Kyo - Functional Scala 2023.pdf por Flavio W. Brasil
Kyo - Functional Scala 2023.pdfKyo - Functional Scala 2023.pdf
Kyo - Functional Scala 2023.pdf
Flavio W. Brasil457 visualizações
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... por ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue198 visualizações
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT por ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue206 visualizações
"Surviving highload with Node.js", Andrii Shumada por Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays56 visualizações

Introduction to Jupyter notebook and MS Azure Machine Learning Studio

  • 1. Introduction about Jupyter Notebook and Azure Machine Learning Studio Muralidharan Deenathayalan, Technical Architect, Quanticate 1
  • 2. What is Python? • Python is an interpreted language. • Python is an object-oriented, high-level programming language for general-purpose programming • Created by Guido van Rossum and first released in 1991 2
  • 3. Advantages of Python • Extensive Support Libraries • Integration Feature • Improved Programmer’s Productivity Ref : https://medium.com/@mindfiresolutions.usa/advantages-and-disadvantages-of-python-programming-language-fd0b394f2121 3
  • 4. What is R ? • R is a language and environment for statistical computing and graphics. • It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. • R can be considered as a different implementation of S Ref : https://www.r-project.org/about.html 4
  • 5. Advantages of R • An effective data handling and storage facility. • Suite of operators for calculations on arrays, in particular matrices. • A large, coherent, integrated collection of intermediate tools for data analysis. • Graphical facilities for data analysis and display either on-screen or on hardcopy. • A well-developed, simple and effective programming language which includes conditionals, loops, user- defined recursive functions and input and output facilities Ref : https://www.r-project.org/about.html 5
  • 6. What is Julia? • Julia is a high-level, high-performance dynamic programming language for numerical computing. • Julia provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. • Julia’s Base library, largely written in Julia itself. • It integrates mature, best-of-breed open source C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing. Ref :https://julialang.org/ 6
  • 7. Advantages of Julia • Multiple dispatch: providing the ability to define function behaviour across many combinations of argument types. • Good performance, approaching that of statically-compiled languages like C • Built-in package manager • Call Python functions: use the PyCall package • Call C functions directly: no wrappers or special APIs Ref :https://julialang.org/ 7
  • 8. Limitations of Julia • Not fully stabilized • Lesser scientific tools • Slower Ref : https://www.allerin.com/blog/big-data-python-r-or-julia 8
  • 9. What is iPython? • iPython – Interactive Python command shell. • It provides a rich toolkit to help you make the most of using Python interactively. • Its main components are: • A powerful interactive Python shell • A Jupyter kernel to work with Python code in Jupyter notebooks and other interactive frontends. Ref : https://ipython.readthedocs.io/en/stable/ 9
  • 10. Advantages of iPython • Comprehensive object introspection. • Input history, persistent across sessions. • Caching of output results during a session with automatically generated references. • Extensible tab completion, with support by default for completion of python variables and keywords, filenames and function keywords. • Extensible system of ‘magic’ commands for controlling the environment and performing many tasks related to iPython or the operating system. Ref : https://ipython.readthedocs.io/en/stable/ 10
  • 11. Limitations of iPython • No native code session save. • Unnatural keyboard shortcuts and no syntax debugger. • Code cell allows lines that are too long and has no wrapping / autoindent. • No easy drag and rearrange code cells. • No table of content to show where html headers are. • No easy hiding of code cells / code output. Ref : https://www.quora.com/What-are-the-limitations-of-IPython-Notebook 11
  • 12. What is Jupyter? • Ju(lia) + Py(thon) + (e)R • The Jupyter Notebook is an open-source web application that allows you to create and share documents. • This document contain live code, equations, visualizations and narrative text. Ref : https://www.oreilly.com/ideas/what-is-jupyter 12
  • 13. Advantages of Jupyter? • Useful for data cleaning and transformation, numerical simulation, statistical modelling, data visualization, machine learning, and much more. • Language of choice  40+ Languages • Notebooks can be shared with others using email, Dropbox, GitHub and the Jupyter Notebook Viewer. • Your code can produce rich, interactive output: HTML, images, videos, and custom MIME types. • Big data integration - Leverage big data tools, such as Apache Spark, from Python, R and Scala. Explore that same data with pandas, scikit-learn, ggplot2, TensorFlow. Ref : http://jupyter.org/ 13
  • 14. Limitations of Jupyter • It messes with your version control. • The Jupyter Notebook format is just a big JSON, which contains your code and the outputs of the code • Code can only be run in chunks. Ref : http://opiateforthemass.es/articles/why-i-dont-like-jupyter-fka-ipython-notebook/ 14
  • 15. History of Jupyter & iPython • Initial release : 2001; 17 years ago • In 2014, Fernando Pérez announced a spin-off project from IPython called Project Jupyter. • In 2015, GitHub and the Jupyter Project announced native rendering of Jupyter notebooks file format (.ipynb files) on the GitHub platform. Ref : https://en.wikipedia.org/wiki/IPython , https://en.wikipedia.org/wiki/Project_Jupyter#History 15
  • 16. How Jupyter works? Ref : https://en.wikipedia.org/wiki/IPython , https://en.wikipedia.org/wiki/Project_Jupyter#History 16
  • 17. What is kernel in Jupyter? • A notebook kernel is a “Computational Engine” that executes the code contained in a Notebook document. Ref : http://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/what_is_jupyter.html 17
  • 18. List of available Jupyter kernels • There are 100+ kernels available (as of 22/11/2018) • Interesting kernels are, • IPyKernel • IRKernel • sas_kernel • Ijava • ICSharp Ref : https://github.com/jupyter/jupyter/wiki/Jupyter-kernels 18
  • 19. Installation of Jupyter Notebook • http://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/install.html 19
  • 20. Jupyter Notebook on Cloud • Navigate to https://notebooks.azure.com/ • Click Samples to navigate to https://notebooks.azure.com/Microsoft/libraries/samples • Click anyone of the sample • Click Clone option (You may get login dialog (if you’re not signed in, use your Hotmail/outlook/skype) and login.) • Enter library name and click Clone button • Click on “Introduction to Python” sample and it launches, Jupyter notebook on Azure • Select the statements on starts with In[1] … and select click Run button in the toolbar. 20
  • 21. Sample Jupyter Notebook • A simple python code sample from Jupyter Notebook. 21
  • 22. Sample Jupyter Notebook • Fetching data from Azure Machine Learning Studio to Jupyter Notebook. 22
  • 23. What is Machine Learning(ML)? • Machine Learning is about using the data you already have to make predictions. • Machine Learning methods Supervised machine learning algorithms  Logistic Regression.  Linear regression.  Support vector machine (SVM) Unsupervised machine learning algorithms  K – means clustering  Hierarchical clustering  Hidden Markov models Semi-supervised machine learning algorithms Reinforcement machine learning algorithms Ref : https://news.codecademy.com/what-is-machine-learning/, https://www.expertsystem.com/machine-learning-definition/ , http://dataaspirant.com/2014/09/19/supervised-and- unsupervised-learning/ 23
  • 24. Microsoft Azure Machine Learning Studio • Navigate to https://studio.azureml.net/ (Sign- in, if not.) 24
  • 26. Python and Azure ML import pandas as pd def azureml_main(dataframe1): for index, row in dataframe1.iterrows(): row[0]="Hello " + row[0] +"!" # Return value must be of a sequence of pandas.DataFrame return dataframe1 26
  • 28. Python and Azure ML Demo Demo 28
  • 29. R and Azure ML 29
  • 30. R and Azure ML dataset1 <- maml.mapInputPort(1)#class: data.frame data.set <- data.frame(response=paste0("Hello ",dataset1$Names,"!")) maml.mapOutputPort("data.set"); 30
  • 31. R and Azure ML 31
  • 32. R and Azure ML Demo Demo 32
  • 33. Python, R and Azure ML 33
  • 34. Q & A Q & A 34
  • 35. Keep in touch Muralidharan Deenathayalan Blogs : www.codingfreaks.net Twitter : https://twitter.com/muralidharand GitHub : https://github.com/muralidharand LinkedIn : https://www.linkedin.com/in/muralidharand 35