|
From: | Pranay Vasani |
Subject: | Re: [igraph] Help required - How to perform matrix multiplication in igraph-python |
Date: | Wed, 13 Jan 2016 08:36:07 +0530 |
I think your best option would be to use numerical python, it has everything you need to use linear algebra. Look into numpy.dot()
http://www.numpy.org/
Il 12/01/2016 17:02, Pranay Vasani ha scritto:
PranayI have a bipartite graph and i want to compute the square of the adjacency matrix.
How to do it in igraph-python?
I am analyzing IMDb data set where i have information about actor and movie.
I want to find out which actors acted in a movie and which movies have common actors.
One option that i explored was bipartite_projection but i still want to find the path of length 2 by doing matrix multiplication i.e. square of adjacency matrix.
Thanks
I am new to igraph-python so your patience and help is appreciated.
_______________________________________________ igraph-help mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/igraph-help
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |