I think those limitations also lead to a lot of creativity. Good music is often made under severe constraint.
503 karma · joined May 21, 2017
Traceback (most recent call last):
File "distance.py", line 11, in <module>
print(manhattan_distance(p1, p2))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "distance.py", line 6, in manhattan_distance
return abs(point_1.x - point_2.x) + abs(point_1.y - point_2.y)
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'x'
This is such a great quality of life improvement.I think the 17kloc would discourage that kind of thinking.
It has applications wherever large graphs are encountered - social networks, biological processes etc. An example application of the library could be as follows - you have a very large graph and you want to do spectral clustering. Throwing spectral clustering directly at such large graphs might not be feasible, so one can first perform a node based subsampling and then apply spectral clustering on the smaller graph on the representative nodes found by the subsampling.
[1] https://patents.google.com/?inventor=Leigh+M.+Rothschild&sor...