Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Data Science with Anaconda

You're reading from  Hands-On Data Science with Anaconda

Product type Book
Published in May 2018
Publisher Packt
ISBN-13 9781788831192
Pages 364 pages
Edition 1st Edition
Languages
Authors (2):
Yuxing Yan Yuxing Yan
Profile icon Yuxing Yan
James Yan James Yan
Profile icon James Yan
View More author details

Table of Contents (15) Chapters

Preface 1. Ecosystem of Anaconda 2. Anaconda Installation 3. Data Basics 4. Data Visualization 5. Statistical Modeling in Anaconda 6. Managing Packages 7. Optimization in Anaconda 8. Unsupervised Learning in Anaconda 9. Supervised Learning in Anaconda 10. Predictive Data Analytics – Modeling and Validation 11. Anaconda Cloud 12. Distributed Computing, Parallel Computing, and HPCC 13. References 14. Other Books You May Enjoy

Creating a set of programs in R and Python

On numerous occasions, for a specific research topic, researchers will collect many datasets and write many programs. Why not write a big program? There are several reasons for not doing so. First, we might need several steps to finish the project. Second, the project might be too complex, so we have divided the whole project into several small portions. Each researcher will be responsible for one or a few portions. Third, according to the flow of the whole process, we might want to have several parts, such as devoting a part to processing data, a part to running various regressions, and a part to summarizing the results. Because of this, we need a way of putting all the programs together. In the following example, we will show you how to achieve this in both R and Python. For R, assume that we have the following functions:

pv_f<-function...
lock icon The rest of the chapter is locked
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.
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}