Questions tagged [pydot]

pydot is a Python module to serve as an easy interface to Graphviz's dot language.

For more information, check:

202 questions
-1
votes
1 answer

ImportError: Failed to import `pydot`

It looks like your post is mostly code; please add some more details. I'm trying to train the model and I have this error"Failed to import pydot. Please install pydot. For example with pip install pydot." and I have already install pydot and…
wafa
  • 61
  • 1
  • 1
  • 3
-1
votes
2 answers

Setting up my decision tree python

import pandas as pd import numpy as np from sklearn import tree from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import train_test_split from matplotlib import pyplot as plt import seaborn as sns from sklearn.tree…
-1
votes
1 answer

Python [Graphviz pydot]

I'm trying to visualize a simple decision tree model : import sklearn.datasets as datasets import pandas as pd iris=datasets.load_iris() df=pd.DataFrame(iris.data, columns=iris.feature_names) y=iris.target from sklearn.tree import…
toumz
  • 41
  • 4
-1
votes
1 answer

Pydot & Graphviz setup

I am trying to plot some a decision tree using graphviz and pydot using SKLearn in python. From the python code: import numpy as np from sklearn.datasets import load_iris from sklearn import tree iris = load_iris( clf =…
Abe Kipnis
  • 25
  • 7
-1
votes
1 answer

Using GPU with Theano

I'm trying to execute the next code https://github.com/erogol/KLP_KMEANS/blob/master/klp_kmeans.py using my gpu I execute: THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python klp_kmeans.py But it says: Using gpu device 0: GeForce GTX 750…
virilo
  • 139
  • 2
  • 11
-2
votes
1 answer

BreadCrumbs Navigation Visualization in hierarchical way

I have breadcrumbs like the following Home -> Patio, Lawn & Garden -> Farm & Ranch Home -> Clothing, Shoes & Jewelry -> Uniforms, Work & Safety etc... I need to build a tree visualization for entire breadcrumbs. I have around 45k such breadcrumb…
bigbounty
  • 16,526
  • 5
  • 37
  • 65
-2
votes
1 answer

'module' object has no attribute 'Dot'

I'm a beginner in python, and i'm trying to draw a graph using: `nx.write_dot(G, "%s.dot"%(image))` in a defined function. When I excute the program, I'm getting this error: File "sim.py", line 31, in main() File "sim.py", line 30, in…
Betty
  • 237
  • 6
  • 16
1 2 3
13
14