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: Pranay Vasani
Subject: Re: [igraph] Help required - How to perform matrix multiplication in igraph-python
Date: Wed, 13 Jan 2016 08:36:07 +0530

Thanks Matteo Fortini for your quick reply. I will explore the numpy.dot().

On Tue, Jan 12, 2016 at 11:21 PM, Matteo Fortini <address@hidden> wrote:
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


_______________________________________________
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]