1!pip3 install ann_visualizer
2!pip install graphviz
3
4from ann_visualizer.visualize import ann_viz
5ann_viz(classifier, view=True, title="test", filename="visualized")
6
7#note: above 2 commands are mandatory if you are working on google colab
8#after executing the code refresh the file system on colab
9#...you will find a pdf file there