Details

Python for R Users


Python for R Users

A Data Science Approach
1. Aufl.

von: Ajay Ohri

62,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 01.11.2017
ISBN/EAN: 9781119126782
Sprache: englisch
Anzahl Seiten: 368

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>The definitive guide for statisticians and data scientists who understand the advantages of becoming proficient in both R and Python</b></p> <p>The first book of its kind, Python for R Users: A Data Science Approach makes it easy for R programmers to code in Python and Python users to program in R. Short on theory and long on actionable analytics, it provides readers with a detailed comparative introduction and overview of both languages and features concise tutorials with command-by-command translations—complete with sample code—of R to Python and Python to R.</p> <p>Following an introduction to both languages, the author cuts to the chase with step-by-step coverage of the full range of pertinent programming features and functions, including data input, data inspection/data quality, data analysis, and data visualization. Statistical modeling, machine learning, and data mining—including supervised and unsupervised data mining methods—are treated in detail, as are time series forecasting, text mining, and natural language processing.</p> <p>• Features a quick-learning format with concise tutorials and actionable analytics</p> <p>• Provides command-by-command translations of R to Python and vice versa</p> <p>• Incorporates Python and R code throughout to make it easier for readers to compare and contrast features in both languages</p> <p>• Offers numerous comparative examples and applications in both programming languages</p> <p>• Designed for use for practitioners and students that know one language and want to learn the other</p> <p>• Supplies slides useful for teaching and learning either software on a companion website</p> <p>Python for R Users: A Data Science Approach is a valuable working resource for computer scientists and data scientists that know R and would like to learn Python or are familiar with Python and want to learn R. It also functions as textbook for students of computer science and statistics.</p> <p><b>A. Ohri </b>is the founder of Decisionstats.com and currently works as a senior data scientist. He has advised multiple startups in analytics off-shoring, analytics services, and analytics education, as well as using social media to enhance buzz for analytics products. Mr. Ohri's research interests include spreading open source analytics, analyzing social media manipulation with mechanism design, simpler interfaces for cloud computing, investigating climate change and knowledge flows. His other books include R for Business Analytics and R for Cloud Computing.</p>
<p>Preface xi</p> <p>Acknowledgments xv</p> <p>Scope xvii</p> <p>Purpose xix</p> <p>Plan xxi</p> <p>The Zen of Python xxiii</p> <p><b>1 Introduction to Python R and Data Science 1</b></p> <p>1.1 What Is Python? 1</p> <p>1.2 What Is R? 2</p> <p>1.3 What Is Data Science? 3</p> <p>1.4 The Future for Data Scientists 3</p> <p>1.5 What Is Big Data? 4</p> <p>1.6 Business Analytics Versus Data Science 6</p> <p>1.6.1 Defining Analytics 6</p> <p>1.7 Tools Available to Data Scientists 7</p> <p>1.7.1 Guide to Data Science Cheat Sheets 7</p> <p>1.8 Packages in Python for Data Science 8</p> <p>1.9 Similarities and Differences between Python and R 9</p> <p>1.9.1 Why Should R Users Learn More about Python? 10</p> <p>1.9.2 Why Should Python Users Learn More about R? 10</p> <p>1.10 Tutorials 10</p> <p>1.11 Using R and Python Together 11</p> <p>1.11.1 Using R Code for Regression and Passing to Python 11</p> <p>1.12 Other Software and Python 15</p> <p>1.13 Using SAS with Jupyter 15</p> <p>1.14 How Can You Use Python and R for Big Data Analytics? 15</p> <p>1.15 What Is Cloud Computing? 16</p> <p>1.16 How Can You Use Python and R on the Cloud? 17</p> <p>1.17 Commercial Enterprise and Alternative Versions of Python and R 18</p> <p>1.17.1 Commonly Used Linux Commands for Data Scientists 20</p> <p>1.17.2 Learning Git 20</p> <p>1.18 Data?]Driven Decision Making: A Note 38</p> <p>1.18.1 Strategy Frameworks in Business Management: A Refresher for Non?]MBAs and MBAs Who Have to Make Data?]Driven Decisions 39</p> <p>1.18.2 Additional Frameworks for Business Analysis 45</p> <p>Bibliography 49</p> <p><b>2 Data Input 51</b></p> <p>2.1 Data Input in Pandas 51</p> <p>2.2 Web Scraping Data Input 54</p> <p>2.2.1 Request Data from URL 55</p> <p>2.3 Data Input from RDBMS 60</p> <p>2.3.1 Windows Tutorial 62</p> <p>2.3.2 137 Mb Installer 63</p> <p>2.3.3 Configuring ODBC 65</p> <p><b>3 Data Inspection and Data Quality 77</b></p> <p>3.1 Data Formats 77</p> <p>3.1.1 Converting Strings to Date Time in Python 78</p> <p>3.1.2 Converting Data Frame to NumPy Arrays and Back in Python 81</p> <p>3.2 Data Quality 84</p> <p>3.3 Data Inspection 88</p> <p>3.3.1 Missing Value Treatment 91</p> <p>3.4 Data Selection 92</p> <p>3.4.1 Random Selection of Data 94</p> <p>3.4.2 Conditional Selection 95</p> <p>3.5 Data Inspection in R 98</p> <p>3.5.1 Diamond Dataset from ggplot2 Package in R 106</p> <p>3.5.2 Modifying Date Formats and Strings in R 113</p> <p>3.5.3 Managing Strings in R 116</p> <p>Bibliography 118</p> <p><b>4 Exploratory Data Analysis 119</b></p> <p>4.1 Group by Analysis 119</p> <p>4.2 Numerical Data 119</p> <p>4.3 Categorical Data 121</p> <p><b>5 Statistical Modeling 139</b></p> <p>5.1 Concepts in Regression 139</p> <p>5.1.1 OLS 140</p> <p>5.1.2 R?]Squared 141</p> <p>5.1.3 p?]Value 141</p> <p>5.1.4 Outliers 141</p> <p>5.1.5 Multicollinearity and Heteroscedascity 142</p> <p>5.2 Correlation Is Not Causation 142</p> <p>5.2.1 A Note on Statistics for Data Scientists 143</p> <p>5.2.2 Measures of Central Tendency 145</p> <p>5.2.3 Measures of Dispersion 145</p> <p>5.2.4 Probability Distribution 147</p> <p>5.3 Linear Regression in R and Python 154</p> <p>5.4 Logistic Regression in R and Python 187</p> <p>5.4.1 Additional Concepts 194</p> <p>5.4.2 ROC Curve and AUC 194</p> <p>5.4.3 Bias Versus Variance 194</p> <p>References 196</p> <p><b>6 Data Visualization 197</b></p> <p>6.1 Concepts on Data Visualization 197</p> <p>6.1.1 History of Data Visualization 197</p> <p>6.1.2 Anscombe Case Study 200</p> <p>6.1.3 Importing Packages 201</p> <p>6.1.4 Taking Means and Standard Deviations 202</p> <p>6.1.5 Conclusion 204</p> <p>6.1.6 Data Visualization 204</p> <p>6.1.7 Conclusion 207</p> <p>6.2 Tufte’s Work on Data Visualization 207</p> <p>6.3 Stephen Few on Dashboard Design 208</p> <p>6.3.1 Maeda on Design 209</p> <p>6.4 Basic Plots 210</p> <p>6.5 Advanced Plots 219</p> <p>6.6 Interactive Plots 223</p> <p>6.7 Spatial Analytics 223</p> <p>6.8 Data Visualization in R 224</p> <p>6.8.1 A Note of Sharing Your R Code by RStudio IDE 232</p> <p>6.8.2 A Note on Sharing Your Jupyter Notebook 233</p> <p>Bibliography 235</p> <p>6.8.3 Special Note: A Complete Wing to Wing Tutorial on Python 236</p> <p><b>7 Machine Learning Made Easier 251</b></p> <p>7.1 Deleting Columns We Dont Need in the Final Decision Tree Model 259</p> <p>7.1.1 Decision Trees in R 276</p> <p>7.2 Time Series 294</p> <p>7.3 Association Analysis 301</p> <p>7.4 Cleaning Corpus and Making Bag of Words 316</p> <p>7.4.1 Cluster Analysis 319</p> <p>7.4.2 Cluster Analysis in Python 319</p> <p><b>8 Conclusion and Summary 331</b></p> <p>Index 333</p>
<p><b> A. Ohri</b> is the founder of Decisionstats.com and currently works as a senior data scientist. He has advised multiple startups in analytics off-shoring, analytics services, and analytics education, as well as using social media to enhance buzz for analytics products. Mr. Ohri's research interests include spreading open source analytics, analyzing social media manipulation with mechanism design, simpler interfaces for cloud computing, investigating climate change and knowledge flows. His other books include <i>R for Business Analytics and R for Cloud Computing. </i>
<p><b> The definitive guide for statisticians and data scientists who understand the advantages of becoming proficient in both R and Python </b> <p> The first book of its kind, <i>Python<sup>®</sup> for R Users: A Data Science Approach</i> makes it easy for R programmers to code in Python and Python users to program in R. Short on theory and long on actionable analytics, it provides readers with a detailed comparative introduction and overview of both languages and features concise tutorials with command-by-command translations—complete with sample code—of R to Python and Python to R. <p> Following an introduction to both languages, the author cuts to the chase with step-by-step coverage of the full range of pertinent programming features and functions, including data input, data inspection/data quality, data analysis, and data visualization. Statistical modeling, machine learning, and data mining—including supervised and unsupervised data mining methods—are treated in detail, as are time series forecasting, text mining, and natural language processing. <ul> <li>Features a quick-learning format with concise tutorials and actionable analytics</li> <li>Provides command-by-command translations of R to Python and vice versa</li> <li>Incorporates Python and R code throughout to make it easier for readers to compare and contrast features in both languages</li> <li>Offers numerous comparative examples and applications in both programming languages</li> <li>Designed for use for practitioners and students that know one language and want to learn the other</li> <li>Supplies slides useful for teaching and learning either software on a companion website</li> </ul> <br> <p><i> Python<sup>®</sup> for R Users: A Data Science Approach</i> is a valuable working resource for computer scientists and data scientists that know R and would like to learn Python or are familiar with Python and want to learn R. It also functions as textbook for students of computer science and statistics.

Diese Produkte könnten Sie auch interessieren:

Statistics for Microarrays
Statistics for Microarrays
von: Ernst Wit, John McClure
PDF ebook
90,99 €