Coder Social home page Coder Social logo

dsc-2-28-15-section-recap-bain-trial-jan19's Introduction

Section Recap

Introduction

This short lesson summarizes key takeaways from section 28

Objectives

You will be able to:

  • Understand and explain what was covered in this section
  • Understand and explain why this section will help you become a data scientist

Key Takeaways

The key takeaways from this section include:

  • One way of modeling certain types of data is using a graph
  • A graph is comprised of nodes (sometimes called vertices or points) connected by edges (sometimes called arcs or lines)
  • Edges can be uni-or bidirectional (I buy from a local suopermarket, but the supermarket may not buy from me - unless I run a dairy farm)
  • Edges can also be weighted (length of friendship, distance between two locations, how many stars someone rated a movie, etc)
  • Nodes are adjacent if there is at least one edge connecting them
  • In an undirected graph, the degree of a node is the number of edges connected to the node
  • In a directed graph, the indegree is the number of edges arriving at the node and the outdegree is the number of edges departing the node
  • An isolated node is one with a degree of 0
  • A path is a specific way to get from one node to another via 1..n edges
  • Two ways of serializing (saving to simple text files) graph data are edge lists and adjacency matrices
  • Dijkstra's algorithm is a popular algorithm for finding the shortest path between two given nodes
  • Degree centrality refers to the percentage of nodes in a graph that a given node is directly connected to
  • Closeness centrality measures how many edges a you'd have to traverse from a starting node to reach every other node in the network (think of it as the "average distance" to all other nodes)
  • Betweenness centrality measures the number of times a node acts as a brideg along the shortest path between two other nodes
  • Eigenvector centrality is high if a node is connected to many well connected nodes
  • Bipartite graphs are graphs where nodes in each of two sets have edges connecting to nodes in the other set but no nodes in their own set
  • Communities (also called partitions, clusters and groupings) are sets of nodes that are more densely connected to each other than to the rest of the graph
  • The Grivan-Newman algorithm can be used to detect communbities by progressively removing edges from the original graph
  • A clique is a subset of nodes in an undirected graph where every two distinct nodes are adjacent
  • A k-clique community is the union of all cliques of size k that can be reached through adjacent (sharing k-1 nodes) k-cliques
  • The island method can be used to identify highly connected communities
  • An ego network consists of a focal node ("ego") and the nodes to whom the ego node is directly connected to (these are called "alters") plus the edges, if any, among the alters

dsc-2-28-15-section-recap-bain-trial-jan19's People

Contributors

loredirick avatar peterbell avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.