Reader small image

You're reading from  Mastering Numerical Computing with NumPy

Product typeBook
Published inJun 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788993357
Edition1st Edition
Languages
Tools
Right arrow
Authors (3):
Umit Mert Cakmak
Umit Mert Cakmak
author image
Umit Mert Cakmak

Umit Mert Cakmak is a data scientist at IBM, where he excels at helping clients solve complex data science problems, from inception to delivery of deployable assets. His research spans multiple disciplines beyond his industry and he likes sharing his insights at conferences, universities, and meet-ups.
Read more about Umit Mert Cakmak

Tiago Antao
Tiago Antao
author image
Tiago Antao

Tiago Antao is a bioinformatician currently working in the field of genomics. A former computer scientist, Tiago moved into computational biology with an MSc in Bioinformatics from the Faculty of Sciences at the University of Porto (Portugal) and a PhD on the spread of drug-resistant malaria from the Liverpool School of Tropical Medicine (UK). Postdoctoral, Tiago has worked with human datasets at the University of Cambridge (UK) and with mosquito whole genome sequencing data at the University of Oxford (UK), before helping to set up the bioinformatics infrastructure at the University of Montana. He currently works as a data engineer in the biotechnology field in Boston, MA. He is one of the co-authors of Biopython, a major bioinformatics package written in Python.
Read more about Tiago Antao

Mert Cuhadaroglu
Mert Cuhadaroglu
author image
Mert Cuhadaroglu

Mert Cuhadaroglu is a BI Developer in EPAM, developing E2E analytics solutions for complex business problems in various industries, mostly investment banking, FMCG, media, communication, and pharma. He consistently uses advanced statistical models and ML algorithms to provide actionable insights. Throughout his career, he has worked in several other industries, such as banking and asset management. He continues his academic research in AI for trading algorithms.
Read more about Mert Cuhadaroglu

View More author details
Right arrow

Preface

If you are trying to hone your skills in the field of data science, there are many books and courses out there with varying levels of difficulty. What usually happens is that you start to study introductory resources and then continue with more in-depth, technical ones to get a taste of a new field or technology. If you were following this kind of learning path for sometime, you must have realized that it becomes very time consuming journey. We, as lifelong learners, need books with more compact representation of knowledge and experience which requires the right balance between theory and practice. This book aims to bring beginner, intermediate, and advanced concepts together and it is our humble effort to build up your knowledge from scratch.

This book assumes no previous background of scientific computing and will introduce various subjects using practical examples. It may sometimes feel like separate topics pulled together randomly and the book's flow doesn't stick to one consistent path. This was a deliberate decision we made to give you a little taste of several different topics and applications.

We hope that you will read this book to have a broader overview of scientific computing as well as to master the nitty-gritty of NumPy and other supporting scientific libraries of Python such as SciPy and Scikit-Learn.

Who this book is for

This book is for everyone who would like to gain additional knowledge in the data science field. Mastering Numerical Computing with NumPy is for you if you are a Python programmer, data analyst, data engineer, or data science enthusiast who wants to master the intricacies of NumPy and build solutions for your numeric and scientific computational problems. You are expected to have familiarity with mathematics to get the most out of this book.

What this book covers

Chapter 1, Working with Numpy Arrays, explains the basics of numerical computing with NumPy, which is a Python library for working with multi-dimensional arrays and matrices used by scientific computing applications.

Chapter 2, Linear Algebra with Numpy, covers the basics of linear algebra and provides practical NumPy examples.

Chapter 3, Exploratory Data Analysis of Boston Housing Data with NumPy Statistics, explains exploratory data analysis and provides examples using Boston Housing Dataset.

Chapter 4, Predicting Housing Prices Using Linear Regression, covers supervised learning and provides a practical example for predicting housing prices using linear regression.

Chapter 5, Clustering Clients of a Wholesale Distributor Using NumPy, explains unsupervised learning and provides a practical example of a clustering algorithm to model a wholesale distributor sales dataset, which contains information on annual spending in monetary units for diverse product categories.

Chapter 6, NumPy, SciPy, Pandas, and Scikit-Learn, shows the relationship between NumPy and other libraries and provides examples of how they are used together.

Chapter 7, Advanced Numpy, explains the advanced considerations of NumPy library usage.

Chapter 8, Overview of High-Performance Numerical Computing Libraries, introduces several low-level, high-performance numerical computing libraries and their relationship with NumPy.

Chapter 9, Performance Benchmarks, takes a deep dive into the performance of NumPy algorithms depending on the underlying high-performance numerical computing libraries.

To get the most out of this book

  1. Basic Python programming knowledge will definitely help, though it is not strictly necessary
  2. Anaconda distribution for Python 3 will be enough to cover most of the examples used in this book

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Mastering-Numerical-Computing-with-NumPy. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Another important parameter in this function is learning_rate."

A block of code is set as follows:

'sepal width (cm)',
'petal length (cm)',
'petal width (cm)'])

Any command-line input or output is written as follows:

$ sudo apt-get update
$ sudo apt-get upgrade

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Dependent is the variable that we want to predict."

Warnings or important notes appear like this.
Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email feedback@packtpub.com and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at questions@packtpub.com.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packtpub.com with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Mastering Numerical Computing with NumPy
Published in: Jun 2018Publisher: PacktISBN-13: 9781788993357
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (3)

author image
Umit Mert Cakmak

Umit Mert Cakmak is a data scientist at IBM, where he excels at helping clients solve complex data science problems, from inception to delivery of deployable assets. His research spans multiple disciplines beyond his industry and he likes sharing his insights at conferences, universities, and meet-ups.
Read more about Umit Mert Cakmak

author image
Tiago Antao

Tiago Antao is a bioinformatician currently working in the field of genomics. A former computer scientist, Tiago moved into computational biology with an MSc in Bioinformatics from the Faculty of Sciences at the University of Porto (Portugal) and a PhD on the spread of drug-resistant malaria from the Liverpool School of Tropical Medicine (UK). Postdoctoral, Tiago has worked with human datasets at the University of Cambridge (UK) and with mosquito whole genome sequencing data at the University of Oxford (UK), before helping to set up the bioinformatics infrastructure at the University of Montana. He currently works as a data engineer in the biotechnology field in Boston, MA. He is one of the co-authors of Biopython, a major bioinformatics package written in Python.
Read more about Tiago Antao

author image
Mert Cuhadaroglu

Mert Cuhadaroglu is a BI Developer in EPAM, developing E2E analytics solutions for complex business problems in various industries, mostly investment banking, FMCG, media, communication, and pharma. He consistently uses advanced statistical models and ML algorithms to provide actionable insights. Throughout his career, he has worked in several other industries, such as banking and asset management. He continues his academic research in AI for trading algorithms.
Read more about Mert Cuhadaroglu