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

Implementation via Octave

The next example of running a linear regression and the related datasets could be downloaded at http://canisius.edu/~yany/data/c9_input.csv. In the following program, the input data set is assumed to be under c:/temp:

a=csvread("c:/temp/c9_input.csv");
x=a(:,2);
y=a(:,3);
figure % open a window for graph
plot(x, y, 'o');
ylabel('Annual returns for S&P500')
xlabel('Annual returns for IBM')

The first graph is shown here:

To save space, the long program will not be shown here. Interested readers can use the previous link. However, its output graph is shown instead:

For the next example, we download an Octave machine library at https://github.com/partharamanujam/octave-ml. Assume that the location of the directory is C:\Octave\octave-ml-master and the related octavelib is C:\Octave\octave-ml-master\octavelib. Then...

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 €18.99/month. Cancel anytime