Book Image

Hands-On Data Science with Anaconda

By : Yuxing Yan, James Yan
Book Image

Hands-On Data Science with Anaconda

By: Yuxing Yan, James Yan

Overview of this book

Anaconda is an open source platform that brings together the best tools for data science professionals with more than 100 popular packages supporting Python, Scala, and R languages. Hands-On Data Science with Anaconda gets you started with Anaconda and demonstrates how you can use it to perform data science operations in the real world. The book begins with setting up the environment for Anaconda platform in order to make it accessible for tools and frameworks such as Jupyter, pandas, matplotlib, Python, R, Julia, and more. You’ll walk through package manager Conda, through which you can automatically manage all packages including cross-language dependencies, and work across Linux, macOS, and Windows. You’ll explore all the essentials of data science and linear algebra to perform data science tasks using packages such as SciPy, contrastive, scikit-learn, Rattle, and Rmixmod. Once you’re accustomed to all this, you’ll start with operations in data science such as cleaning, sorting, and data classification. You’ll move on to learning how to perform tasks such as clustering, regression, prediction, and building machine learning models and optimizing them. In addition to this, you’ll learn how to visualize data using the packages available for Julia, Python, and R.
Table of Contents (15 chapters)

Preface

Anaconda is an open source data science platform that brings the best tools for data science together. It is a data science stack that includes more than 100 popular packages based on Python, Scala, and R. With the help of its package manager, conda, users can work with hundreds of packages in different languages and perform data preprocessing, modeling, clustering, classification, and validation with ease.

This book will get you started with Anaconda and how you can use it to perform data science operations in the real world. You will start of setting up the environment for the Anaconda platform, Jupyter, and installing the relevant packages. You will then cover the basics of data science and linear algebra for performing data science tasks. Once you are ready to go, you will start with data science operations such as cleaning, sorting, and data classification. You will then learn how to perform tasks such as clustering, regression, prediction, building machine learning models, and optimizing them. You will also learn how to visualize data and share the projects.

During this course, you will learn how to use different packages, using Anaconda to get the best results. You will learn how to efficiently use conda — the package, dependency, and environment manager for Anaconda. You will also be introduced to several powerful features of Anaconda, such as additional projects, project add-ons, shared project drives, and powerful compute nodes that are available in the paid version for accomplishing advanced data handling processes. You will learn how to build scalable and functionally efficient packages, and how to perform heterogeneous data exploration, distributed computing, and more. You will learn to discover and share packages, notebooks, and environments to increase productivity. You will also learn about Anaconda Accelerate, a feature that can help you to achieve SLAs easily and optimize computational power.

In this book, we introduce four programming languages: R, Python, Octave, and Julia. There are several reasons for doing so. Firstly, all four are open source, which is one of the future trends. Secondly, one of the most obvious advantages to using the Anaconda platform is that it allows you to where we could implement many programs written in different languages. However, for many new readers, learning four languages at the same time would be quite challenging. The best strategy is to focus on R and Python first. After a while, or after finishing the whole book, learn Octave or Julia on the second reading.

  • R: This is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, such as Windows and macOS. We think that R might be the easiest of many good computer languages, especially those that offer free software. The author has published a book entitled Financial Modeling using R; you can refer to its Amazon link at http://canisius.edu/~yany/webs/amazon2018R.shtml.
  • Python: This is an interpreted high-level programming language for general-purpose programming. For business analytics/data science, Python is probably the number 1 choice out of many promising computer languages. In 2017, the author published a book entitled Python for Finance (second edition); you can refer to its Amazon link at http://canisius.edu/~yany/webs/amazonP4F2.shtml.
  • Octave: This is a piece of software featuring a high-level programming language, primarily intended for numerical computations. Octave helps with solving linear and nonlinear problems numerically, as well as performing other numerical experiments. Octave is also free. Its syntax is largely compatible with MATLAB, which is quite popular on Wall Street and in other industries.
  • Julia: This is a high-level, high-performance dynamic programming language for numerical computing. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. Julia’s base library, largely written in Julia itself, also integrates mature, best-of-breed, open source C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing.

Happy reading!