mljar-supervised
mljar-supervised copied to clipboard
import error
using vs code on windows 10
(mljar) PS C:\Users\harthk1\Documents\Projects\python\Projects\mljar> & C:/Users/harthk1/Documents/Projects/python/Projects/mljar/Scripts/python.exe c:/Users/harthk1/Documents/Projects/python/Projects/mljar/44shred-with-mljar.py
Traceback (most recent call last):
File "c:/Users/harthk1/Documents/Projects/python/Projects/mljar/44shred-with-mljar.py", line 23, in
I had to go to C:\Users\harthk1\Documents\Projects\python\Projects\mljar\lib\site-packages\dtreeviz\trees.py and remove run from from graphviz.backend import run, view
mljar-supervised 0.8.9 and dtreeviz version 1.0
everything fine ran fine after making the change.
The problem is the line
from dtreeviz.trees import dtreeviz
I guess this doesn't exist anymore? I changed it to "import dtreeviz" and the system at least runs.
Hi @willer, the dtreeviz
package was updated to 2.0
, and there was change in the API. You can just update the dtreeviz
package to the latest version.
Great!