Errata

Social Network Analysis for Startups

Errata for Social Network Analysis for Startups

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 1,3,5,6,9,11,15,16,21,37...
many paragraphs on many pages

The book has many, many "Then" and "Than" mistakes. Just open the pdf and search for "Then". For the first 20 pages, it seems that every instance of "then" should have been "than".

Dan O'Brien  Feb 27, 2012 
PDF Page 21
bottom paragraph

On the definition of density the books says that "The ratio of non-zero cells to zero cells is called density". This means that if every cell is non zero the density is infinite (instead of 100%). The definition should be the ratio of non-zero cells / number of cells in the adjacency matrix.

Yiorgos Adamopoulos  Jan 10, 2015 
Other Digital Version 23?
The power of informal networks

Hi,
in "The power of informal network" there's an example related to "ACME organizzation" that rely on the presence of a file called "ACME_orgchart.net". This file is not in any of the folders that you can download from proposed link (https://github.com/maksim2042/SNABook); where I can find it?

Thanks,

Marco

Marco Vicario  Feb 02, 2012 
Printed Page 34
Source code just below 2nd paragraph

Source code shows:

new_edges = [x + (choice(range(10)),) for x in ee]

First there is no 'ee' variable referenced; I presume its supposed to be nn which was an array of nodes , nn= g.nodes()

Second, if you run you get an run erro:
TypeError: unsupported operand type(s) for +: 'int' and 'tuple'

What should be the syntax?

Efferon  Jul 07, 2012 
ePub, Mobi Page 34
In weight setting example

In response to Efferon's question:

Source code shows:

new_edges = [x + (choice(range(10)),) for x in ee]

What should be the syntax?

The answer is:

new_edges = [x + (choice(range(10)),) for x in g.edges()]

Francis Pilon  Oct 06, 2012 
Printed Page 55
Netherlands

Last paragraph where the word "than" is changed by "then". Example: "i.e. well-connected people are worth more THEN badly connected people."

You could find the almost everywhere in the book where the "then" is unproperly used instead of "than".

Edwin Lima Valladares  Feb 27, 2012 
PDF Page 58
3rd paragraph

centrality is determined _thought_ incoming links. In the PDF it has trough instead of through.

Yiorgos Adamopoulos  Jan 11, 2015 
PDF Page 67
2nd paragraph

According to the paragraph the second child's name is Dan. According to the example immediately following it the second child's name is Dave.

Yiorgos Adamopoulos  Jan 12, 2015 
PDF Page 83
1st paragraph

Where it says "a cluster a node" it needs a comma: "a cluster, a node"

Yiorgos Adamopoulos  Jan 12, 2015 
PDF Page 83
3rd paragraph

Where is says "how clustering work" it should be "how clustering works"

Yiorgos Adamopoulos  Jan 12, 2015 
ePub, Mobi Page 89
Code example

In:

>>> def sorted_map(map):
... ms = sorted(map.iteritems(), key=lambda (k,v): (-v,k))
... return ms
...
>>> ds=sorted_map(d)

The last line should read:

>>> ds=sorted_map(deg)

Francis Pilon  Oct 07, 2012 
PDF Page 110
1st paragraph

"to a “must share” is a sharp inflection that in the adoption curve" should be without the "that"

Yiorgos Adamopoulos  Jan 13, 2015 
ePub Page 114
in the "Analyzing Components with Python" section

In the code example:

>>> import matplotlib.pyplot as plot
>>> x=[len(c) for c in net.connected_component_subgraphs(e)]
>>> plot.hist()

The last line should be:

>>> plot.hist(e)

Francis Pilon  Oct 08, 2012 
ePub Page 130
"Plot the networks" example code

Finally, we plot the networks:
import multimode as mm

results in:

ImportError: No module named multimode

However omitting this line and using directly the following will work:

# type-string tells the function what attribute to differentiate on
plot_multimode(cc,type_string='flight')

Francis Pilon  Oct 08, 2012 
PDF Page 150
3rd paragraph

"As the speed of computational scales" <- The speed of _computation_ scales.

Yiorgos Adamopoulos  Jan 19, 2015 
PDF, Other Digital Version Page 159
3rd paragraph

In the query example

"Now we can query, just like any other SQL database:
hive> select id from twitter_stream where create_at > '2011-02-03';"

field name should be "created_at", not "create_at" (table definition on the same page uses created_at)

Ivan Kuznetsov  Jan 11, 2012 
PDF Page 179
last paragraph

> "the same number as the estimated size of a human working memory (7 +/- 3)"

I think the working memory is (7 +/- 2).

http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two

Best Regards,

Hiroko

Hiroko  Jul 29, 2012 
Other Digital Version 546
example code

I have the Kindle edition, which doesn't list traditional page numbers, only "Location 546 of 6930"...

But in Chapter 1, there is an example line that reads:

>>> advice = net.load_pajek("ACME_advice.net")

This should read:

>>> advice = net.read_pajek("ACME_advice.net")

Anonymous  May 09, 2012 
Other Digital Version 725
Right after the phrase "or, in Python:"

This error is in Chapter 2, in the subsection "Edge-Lists and Adjacency Lists". It gives a chunk of python code that looks like:

>>> edges = {{'A','B',2},{'A','D',5}}

But that code isn't valid, it should be:

>>> edges = (('A','B',2),('A','D',5))

(Basically the {} denotes a dict, but the () is needed because we are dealing with a list.)

After the next paragraph there is another Python example that uses the {}, and that usage *is* correct for what is being displayed there.

nloadholtes  Jul 13, 2012