Hi david, im currently working on my masters thesis, do you know any python library /implementation using which i can calculate the chromatic polynomial ? (in terms of the polynomial expression)
Hey there! I do not know of a Python library off the top of my head that can do this. I checked the NetworkX docs but didn't find anything out of the box. I did find this GitHub gist that uses the Tutte polynomial to compute the chromatic polynomial, though: gist.github.com/MHenderson/7028f4eb1ed26ac2f1f9. Check out this Wikipedia link for more info on that connection: en.wikipedia.org/wiki/Tutte_polynomial#Chromatic_polynomial. Hope that helps! I do plan on covering this topic in the series, but I'm still several videos away from that, so it will be several weeks before I publish that.
@@DavidAmos at 12:46 you created the edge set over multiple lines in the console. I have never seen that before. Is this a specific console or is this default python?
Hi David, I am a bit surprised. In your video the nodes have labels (1,2,3, etc) but the python code has no such assignment. Is this a mistake on my part?
Hi! Really nice tutorials, thank you! Liked and subscribed! :D The combinations function from itertools considers the pair (i, i+1), but not the (i+1,i), just like you need. Out of curiosity, is there any other function that will do this?
Thanks, Ricardo! Glad you've enjoyed the tutorials! You're right about itertools.combinations. I don't know of any other built-in Python function that does the same thing. I always reach for itertools for these kinds of things.
I really hope you'll continue with this series. It may be for a niche audience, but I thoroughly enjoy your videos.
Thanks! I will be picking it back up very soon!
I am working on a small project, was not sure how to go further your video helped a lot. Thanks man!
Thank you very much…I needed this for my thesis
Another great video, well worth the time, thanks.
Thank you. I was looking for this.
Hi david, im currently working on my masters thesis, do you know any python library /implementation using which i can calculate the chromatic polynomial ? (in terms of the polynomial expression)
Hey there! I do not know of a Python library off the top of my head that can do this. I checked the NetworkX docs but didn't find anything out of the box.
I did find this GitHub gist that uses the Tutte polynomial to compute the chromatic polynomial, though: gist.github.com/MHenderson/7028f4eb1ed26ac2f1f9.
Check out this Wikipedia link for more info on that connection: en.wikipedia.org/wiki/Tutte_polynomial#Chromatic_polynomial.
Hope that helps! I do plan on covering this topic in the series, but I'm still several videos away from that, so it will be several weeks before I publish that.
Awesomatic video
Thanks for this video. You mistyped in the discription at the part links
Some question. How did you the line break in the console?
Ah, thanks! I just fixed the typo. which line break are you referring to? Could you include a time stamp?
@@DavidAmos at 12:46 you created the edge set over multiple lines in the console. I have never seen that before. Is this a specific console or is this default python?
Hello! Many thanks for this video! But what about networkx library for graph manipulation and visualization? What's better?
Hi David, thank you so much for these videos.
Glad you like them!
Excellent video. I'm distracted by your ISS model though. Ohhh, pretty space things... ;-)
There’s a Saturn V just out of frame. Maybe I’ll sneak it into some future videos 😆
Hello! How to put text inside the node?
Hi David, I am a bit surprised. In your video the nodes have labels (1,2,3, etc) but the python code has no such assignment. Is this a mistake on my part?
hi, the labels are per default equal to the node id, this is the number used when creating the node
Brilliant dude
Hi! Really nice tutorials, thank you! Liked and subscribed! :D
The combinations function from itertools considers the pair (i, i+1), but not the (i+1,i), just like you need. Out of curiosity, is there any other function that will do this?
Thanks, Ricardo! Glad you've enjoyed the tutorials! You're right about itertools.combinations. I don't know of any other built-in Python function that does the same thing. I always reach for itertools for these kinds of things.
Would you tell me what books are behind you?
Do visdcc plz
Anyone recognize David from Talk Julia?
LOL, you got me 😂
Wow ... thanks lot