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)

Review questions and exercises

  1. What is distributed computing? Why it is useful?
  2. From where could we get a task view for parallel computing?
  3. From the task view related to parallel computing, we can find many R packages. Identify a few of them. Install two and find a few examples of using these two packages.
  4. Conduct a word frequency analysis using: The Count of Monte Cristo by Alexandre Dumas (input file is at http://www.gutenberg.org/files/1184/1184-0.txt).
  5. From where could we find more information about Anaconda add-ons?
  6. What is HPCC and how does it work?
  7. How do we find the path of an installed R package?
  8. In the sample Jupyter notebook about parallel Monte-Carlo options pricing, the related Asian options are defined here, where call(Asian) is the Asian put option, Put(Asian), K is the exercise price, and is the average price over the path:

Write a Jupyter notebook to use...