Network Analysis Made Simple
Network Analysis Made Simple
An introduction to network analysis and applied graph theory using Python and NetworkX
About the Book
As the accompanying book to the popular Network Analysis Made Simple series created and taught by Eric Ma and Mridul Seth at Python, SciPy, ODSC and PyData conferences, come learn:
- about the NetworkX API
- about the basics and fundamentals of graph theory
- how to read and write graphs using modern data formats (e.g. pandas DataFrames)
- an introduction to advanced topics, including bipartite graphs, how matrices and linear algebra relate to graph theory, and statistical inference on graphs
- through two case studies to help you apply the concepts and ideas learned throughout the book
To aid your learning journey, we also have a GitHub repository with Jupyter notebooks that you can execute locally or on Binder! You can find it here on GitHub. Pick up this book for a self-paced introduction, or as a reference after taking the tutorial, or simply purchase it because you appreciate the work we've put in over the past five years to make and refine the material, and want to support further updates as the Python data science ecosystem evolves!
- Technical Takeaways
- Intellectual Goals
Introduction to Graphs
- A formal definition of networks
- Examples of Networks
- Types of Graphs
- Edges define the interesting part of a graph
The NetworkX API
- Data Model
- Load Data
- Understanding a graph’s basic statistics
- Manipulating the graph
- Coding Patterns
- Further Reading
- Further Exercises
- Solution Answers
- Matrix Plot
- Arc Plot
- Circos Plot
- Hive Plot
- Principles of Rational Graph Viz
- A Measure of Importance: “Number of Neighbors”
- Generalizing “neighbors” to arbitrarily-sized graphs
- Distribution of graph metrics
- Breadth-First Search
- Visualizing Paths
- Bottleneck nodes
- Triadic Closure
- Connected Components
- Graph Data as Tables
- Graph Model
- Pickling Graphs
- Other text formats
- Why test?
- What to test
- Continuous data testing
- Further reading
- What are bipartite graphs?
- Bipartite Graph Projections
- Weighted Projection
- Degree Centrality
- Path finding
- Message Passing
- Bipartite Graphs & Matrices
- Performance: Object vs. Matrices
- Acceleration on a GPU
- Statistics refresher
- We are concerned with models of randomness
- Hypothesis Testing
- Stochastic graph creation models
- Load Data
- Inferring Graph Generating Model
- Quantitative Model Comparison
Game of Thrones
- Finding the most important node i.e character in these networks.
- Betweeness centrality
- Evolution of importance of characters over the books
- So what’s up with Stannis Baratheon?
- Community detection in Networks
- Visualise the airports
- Directed Graphs and PageRank
- Importants Hubs in the Airport Network
- How reachable is this network?
- Can we find airline specific reachability?
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.