igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Help required - How to perform matrix multiplication in igr


From: Matteo Fortini
Subject: Re: [igraph] Help required - How to perform matrix multiplication in igraph-python
Date: Tue, 12 Jan 2016 18:51:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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:
I 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.

I am new to igraph-python so your patience and help is appreciated.

Thanks
Pranay


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

[Prev in Thread] Current Thread [Next in Thread]