analyzing-visualizing-data-f-sharp.pdf
(
4254 KB
)
Pobierz
Analyzing and Visualizing
Data with F#
Tomas Petricek
Analyzing and Visualizing Data with F#
by Tomas Petricek
Copyright © 2016 O’Reilly Media, Inc. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA
95472.
O’Reilly books may be purchased for educational, business, or sales promotional use.
Online editions are also available for most titles (http://safaribooksonline.com). For
more information, contact our corporate/institutional sales department:
800-998-9938 or
corporate@oreilly.com
.
Editor:
Brian MacDonald
Production Editor:
Nicholas Adams
Copyeditor:
Sonia Saruba
Proofreader:
Nicholas Adams
October 2015:
First Edition
Interior Designer:
David Futato
Cover Designer:
Ellie Volckhausen
Illustrator:
Rebecca Demarest
Revision History for the First Edition
2015-10-15:
First Release
While the publisher and the author have used good faith efforts to ensure that the
information and instructions contained in this work are accurate, the publisher and
the author disclaim all responsibility for errors or omissions, including without limi‐
tation responsibility for damages resulting from the use of or reliance on this work.
Use of the information and instructions contained in this work is at your own risk. If
any code samples or other technology this work contains or describes is subject to
open source licenses or the intellectual property rights of others, it is your responsi‐
bility to ensure that your use thereof complies with such licenses and/or rights.
978-1-491-93953-6
[LSI]
Table of Contents
Acknowledgements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. Accessing Data with Type Providers. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Data Science Workflow
Why Choose F# for Data Science?
Getting Data from the World Bank
Calling the Open Weather Map REST API
Plotting Temperatures Around the World
Conclusions
2
3
4
7
10
13
16
18
20
21
24
26
30
31
33
35
36
39
41
2. Analyzing Data Using F# and Deedle. . . . . . . . . . . . . . . . . . . . . . . . . . 15
Downloading Data Using an XML Provider
Visualizing CO
2
Emissions Change
Aligning and Summarizing Data with Frames
Summarizing Data Using the R Provider
Normalizing the World Data Set
Conclusions
How k-Means Clustering Works
Clustering 2D Points
Initializing Centroids and Clusters
Updating Clusters Recursively
Writing a Reusable Clustering Function
Clustering Countries
Scaling to the Cloud with MBrace
3. Implementing Machine Learning Algorithms. . . . . . . . . . . . . . . . . . . 29
vii
Plik z chomika:
krzysiek314151
Inne pliki z tego folderu:
ten-steps-to-linux-survival.pdf
(6347 KB)
The_Browser_Hackers_Handbook.pdf
(30227 KB)
The_Hackers_Handbook.pdf
(18505 KB)
trends-shaping-the-london-tech-scene.epub
(4760 KB)
trends-shaping-the-london-tech-scene.mobi
(10009 KB)
Inne foldery tego chomika:
Zgłoś jeśli
naruszono regulamin