Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Data Science with Anaconda

You're reading from   Hands-On Data Science with Anaconda Utilize the right mix of tools to create high-performance data science applications

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788831192
Length 364 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
James Yan James Yan
Author Profile Icon James Yan
James Yan
Yuxing Yan Yuxing Yan
Author Profile Icon Yuxing Yan
Yuxing Yan
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Ecosystem of Anaconda 2. Anaconda Installation FREE CHAPTER 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

Introduction to R packages – rattle

Before discussing one or two examples of using rattle, it might be a good idea to discuss an R package called rattle.data. As its name suggests, we could guess that it contains data used by rattle. It is a good idea to use a small dataset to generate a dendrogram. For the next case, we use the first 20 observations from a dataset called wine:

library(rattle.data) 
data(wine)  
x<-head(wine,20) 

To launch rattle, we have the following two lines:

library(rattle) 
rattle() 

For data, we choose R Dataset, then choose x, as shown in the following screenshot. To save space, only the top part is presented here:

The following screenshot shows our choice:

From the previous screenshot, we see 14 observations. Click Clusters, with a default of 10 clusters, and Dendrogram. See the result in the following screenshot:

The previous dendrogram...

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 $19.99/month. Cancel anytime