d6t / d6tflow-template Goto Github PK
View Code? Open in Web Editor NEWProject template for highly effective data science workflows
Home Page: https://github.com/d6t/d6tflow
License: MIT License
Project template for highly effective data science workflows
Home Page: https://github.com/d6t/d6tflow
License: MIT License
Hi everyone,
For learning purpose, I am training to run the default code present in d6tflow-templete. So, when I am trying to run the following command I got the above error:
visualize.plot_importances()
The full error is the following:
In [53]: visualize.plot_importances()
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-53-3fbdd0f0e93e> in <module>()
----> 1 visualize.plot_importances()
~/Dropbox/GRB-project/visualize.py in plot_importances()
12 df_train = tasks.TaskPreprocess().output().load()
13 df_importance = pd.Series(model.feature_importances_, index=df_train.iloc[:,:-1].columns)
---> 14 import matplotlib.pyplot as plt
15 df_importance.sort_values(ascending=False).plot.bar()
16 plt.savefig('reports/plot.png')
~/anaconda3/lib/python3.6/site-packages/matplotlib/pyplot.py in <module>()
113 ## Global ##
114
--> 115 _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
116
117 _IP_REGISTERED = None
~/anaconda3/lib/python3.6/site-packages/matplotlib/backends/__init__.py in pylab_setup(name)
60 # imports. 0 means only perform absolute imports.
61 backend_mod = __import__(backend_name, globals(), locals(),
---> 62 [backend_name], 0)
63
64 # Things we pull in from all backends
~/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_qt5agg.py in <module>()
13
14 from .backend_agg import FigureCanvasAgg
---> 15 from .backend_qt5 import (
16 QtCore, QtGui, QtWidgets, _BackendQT5, FigureCanvasQT, FigureManagerQT,
17 NavigationToolbar2QT, backend_version)
~/anaconda3/lib/python3.6/site-packages/matplotlib/backends/backend_qt5.py in <module>()
17 _Backend, FigureCanvasBase, FigureManagerBase, NavigationToolbar2,
18 TimerBase, cursors, ToolContainerBase, StatusbarBase)
---> 19 import matplotlib.backends.qt_editor.figureoptions as figureoptions
20 from matplotlib.backends.qt_editor.formsubplottool import UiSubplotTool
21 from matplotlib.figure import Figure
~/anaconda3/lib/python3.6/site-packages/matplotlib/backends/qt_editor/figureoptions.py in <module>()
18 import matplotlib
19 from matplotlib import cm, colors as mcolors, markers, image as mimage
---> 20 import matplotlib.backends.qt_editor.formlayout as formlayout
21 from matplotlib.backends.qt_compat import QtGui
22
~/anaconda3/lib/python3.6/site-packages/matplotlib/backends/qt_editor/formlayout.py in <module>()
52
53 from matplotlib import colors as mcolors
---> 54 from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
55
56
~/anaconda3/lib/python3.6/site-packages/matplotlib/backends/qt_compat.py in <module>()
138 if QT_API == QT_API_PYQT5:
139 try:
--> 140 from PyQt5 import QtCore, QtGui, QtWidgets
141 _getSaveFileName = QtWidgets.QFileDialog.getSaveFileName
142 except ImportError:
ImportError: dlopen: cannot load any more object with static TLS
I do not know what is going on. Any help would be great.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.