Introducing Karate Club
I’m going to showcase a Python library that we have touched on previously in this book: Karate Club. I mentioned it briefly in previous chapters, but now we are going to actually use it. I purposefully held off on going into detail before now, because I wanted to teach core approaches to working with networks before showing seemingly easy approaches to extracting communities and embeddings from networks using ML. This is because there are some undesirable side effects to using network embeddings rather than metrics extracted from a network. I will get into that in a bit. For now, I want to introduce this awesome, performant, and reliable Python library.
Karate Club’s documentation (https://karateclub.readthedocs.io/en/latest/) gives a clear and concise explanation of what the library does: