TrueY Algorithm Predicted Value
0 pwr SVR bwr
1 pwr SVR bwr
2 pwr SVR bwr
3 pwr SVR bwr
4 pwr SVR bwr
5 pwr SVR bwr
6 pwr SVR bwr
7 pwr SVR pwr
8 pwr SVR pwr
9 pwr SVR bwr
10 pwr SVR bwr
11 pwr SVR bwr
12 pwr SVR pwr
13 pwr SVR pwr
14 pwr SVR pwr
15 pwr SVR pwr
16 pwr SVR pwr
17 pwr SVR pwr
18 pwr SVR pwr
19 pwr SVR pwr
20 pwr SVR pwr
21 pwr SVR pwr
22 pwr SVR pwr
23 pwr SVR pwr
24 pwr SVR pwr
25 pwr SVR pwr
26 pwr SVR pwr
27 pwr SVR pwr
28 pwr SVR pwr
29 pwr SVR pwr
... ... ... ...
29307 phwr Ridge phwr
29308 phwr Ridge phwr
29309 phwr Ridge phwr
29310 phwr Ridge phwr
29311 phwr Ridge phwr
29312 phwr Ridge phwr
29313 phwr Ridge phwr
29314 phwr Ridge phwr
29315 phwr Ridge phwr
29316 phwr Ridge phwr
29317 phwr Ridge phwr
29318 phwr Ridge phwr
29319 phwr Ridge phwr
29320 phwr Ridge phwr
29321 phwr Ridge phwr
29322 phwr Ridge phwr
29323 phwr Ridge phwr
29324 phwr Ridge phwr
29325 phwr Ridge phwr
29326 phwr Ridge phwr
29327 phwr Ridge phwr
29328 phwr Ridge phwr
29329 phwr Ridge phwr
29330 phwr Ridge phwr
29331 phwr Ridge phwr
29332 phwr Ridge phwr
29333 phwr Ridge phwr
29334 phwr Ridge phwr
29335 phwr Ridge phwr
29336 phwr Ridge phwr
[29337 rows x 3 columns]
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-29-335bd89f4310> in <module>()
10 sharex=False, sharey=False, size=8,
11 palette=sns.color_palette(med))
---> 12 pred= pred.map(plt.scatter, 'TrueY', 'Predicted Value', s=150)
13
14 (pred.set_axis_labels("Ground Truth", "Predicted Value")
/usr/local/lib/python3.5/dist-packages/seaborn/axisgrid.py in map(self, func, *args, **kwargs)
741
742 # Draw the plot
--> 743 self._facet_plot(func, ax, plot_args, kwargs)
744
745 # Finalize the annotations and layout
/usr/local/lib/python3.5/dist-packages/seaborn/axisgrid.py in _facet_plot(self, func, ax, plot_args, plot_kwargs)
825
826 # Draw the plot
--> 827 func(*plot_args, **plot_kwargs)
828
829 # Sort out the supporting information
/usr/lib/python3/dist-packages/matplotlib/pyplot.py in scatter(x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, hold, data, **kwargs)
3249 vmin=vmin, vmax=vmax, alpha=alpha,
3250 linewidths=linewidths, verts=verts,
-> 3251 edgecolors=edgecolors, data=data, **kwargs)
3252 finally:
3253 ax.hold(washold)
/usr/lib/python3/dist-packages/matplotlib/__init__.py in inner(ax, *args, **kwargs)
1812 warnings.warn(msg % (label_namer, func.__name__),
1813 RuntimeWarning, stacklevel=2)
-> 1814 return func(ax, *args, **kwargs)
1815 pre_doc = inner.__doc__
1816 if pre_doc is None:
/usr/lib/python3/dist-packages/matplotlib/axes/_axes.py in scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, **kwargs)
3920 self.set_ymargin(0.05)
3921
-> 3922 self.add_collection(collection)
3923 self.autoscale_view()
3924
/usr/lib/python3/dist-packages/matplotlib/axes/_base.py in add_collection(self, collection, autolim)
1677
1678 if autolim:
-> 1679 self.update_datalim(collection.get_datalim(self.transData))
1680
1681 collection._remove_method = lambda h: self.collections.remove(h)
/usr/lib/python3/dist-packages/matplotlib/collections.py in get_datalim(self, transData)
194 transOffset = transOffset.get_affine()
195
--> 196 offsets = np.asanyarray(offsets, np.float_)
197 if np.ma.isMaskedArray(offsets):
198 offsets = offsets.filled(np.nan)
/usr/local/lib/python3.5/dist-packages/numpy/core/numeric.py in asanyarray(a, dtype, order)
542
543 """
--> 544 return array(a, dtype, copy=False, order=order, subok=True)
545
546
ValueError: could not convert string to float: 'phwr'
Error in callback <function install_repl_displayhook.<locals>.post_execute at 0x7f039bf6bae8> (for post_execute):
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/usr/lib/python3/dist-packages/matplotlib/pyplot.py in post_execute()
145 def post_execute():
146 if matplotlib.is_interactive():
--> 147 draw_all()
148
149 # IPython >= 2
/usr/lib/python3/dist-packages/matplotlib/_pylab_helpers.py in draw_all(cls, force)
148 for f_mgr in cls.get_all_fig_managers():
149 if force or f_mgr.canvas.figure.stale:
--> 150 f_mgr.canvas.draw_idle()
151
152 atexit.register(Gcf.destroy_all)
/usr/lib/python3/dist-packages/matplotlib/backend_bases.py in draw_idle(self, *args, **kwargs)
2024 if not self._is_idle_drawing:
2025 with self._idle_draw_cntx():
-> 2026 self.draw(*args, **kwargs)
2027
2028 def draw_cursor(self, event):
/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py in draw(self)
472
473 try:
--> 474 self.figure.draw(self.renderer)
475 finally:
476 RendererAgg.lock.release()
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/figure.py in draw(self, renderer)
1157 dsu.sort(key=itemgetter(0))
1158 for zorder, a, func, args in dsu:
-> 1159 func(*args)
1160
1161 renderer.close_group('figure')
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/axes/_base.py in draw(self, renderer, inframe)
2322
2323 for zorder, a in dsu:
-> 2324 a.draw(renderer)
2325
2326 renderer.close_group('axes')
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/collections.py in draw(self, renderer)
813 def draw(self, renderer):
814 self.set_sizes(self._sizes, self.figure.dpi)
--> 815 Collection.draw(self, renderer)
816
817
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/collections.py in draw(self, renderer)
263 self.update_scalarmappable()
264
--> 265 transform, transOffset, offsets, paths = self._prepare_points()
266
267 gc = renderer.new_gc()
/usr/lib/python3/dist-packages/matplotlib/collections.py in _prepare_points(self)
236 offsets = list(zip(xs, ys))
237
--> 238 offsets = np.asanyarray(offsets, np.float_)
239 offsets.shape = (-1, 2) # Make it Nx2
240
/usr/local/lib/python3.5/dist-packages/numpy/core/numeric.py in asanyarray(a, dtype, order)
542
543 """
--> 544 return array(a, dtype, copy=False, order=order, subok=True)
545
546
ValueError: could not convert string to float: 'phwr'
<matplotlib.figure.Figure at 0x7f038920e518>
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/usr/local/lib/python3.5/dist-packages/IPython/core/formatters.py in __call__(self, obj)
339 pass
340 else:
--> 341 return printer(obj)
342 # Finally look for special method names
343 method = get_real_method(obj, self.print_method)
/usr/local/lib/python3.5/dist-packages/IPython/core/pylabtools.py in <lambda>(fig)
236
237 if 'png' in formats:
--> 238 png_formatter.for_type(Figure, lambda fig: print_figure(fig, 'png', **kwargs))
239 if 'retina' in formats or 'png2x' in formats:
240 png_formatter.for_type(Figure, lambda fig: retina_figure(fig, **kwargs))
/usr/local/lib/python3.5/dist-packages/IPython/core/pylabtools.py in print_figure(fig, fmt, bbox_inches, **kwargs)
120
121 bytes_io = BytesIO()
--> 122 fig.canvas.print_figure(bytes_io, **kw)
123 data = bytes_io.getvalue()
124 if fmt == 'svg':
/usr/lib/python3/dist-packages/matplotlib/backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, **kwargs)
2178 orientation=orientation,
2179 dryrun=True,
-> 2180 **kwargs)
2181 renderer = self.figure._cachedRenderer
2182 bbox_inches = self.figure.get_tightbbox(renderer)
/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py in print_png(self, filename_or_obj, *args, **kwargs)
525
526 def print_png(self, filename_or_obj, *args, **kwargs):
--> 527 FigureCanvasAgg.draw(self)
528 renderer = self.get_renderer()
529 original_dpi = renderer.dpi
/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py in draw(self)
472
473 try:
--> 474 self.figure.draw(self.renderer)
475 finally:
476 RendererAgg.lock.release()
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/figure.py in draw(self, renderer)
1157 dsu.sort(key=itemgetter(0))
1158 for zorder, a, func, args in dsu:
-> 1159 func(*args)
1160
1161 renderer.close_group('figure')
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/axes/_base.py in draw(self, renderer, inframe)
2322
2323 for zorder, a in dsu:
-> 2324 a.draw(renderer)
2325
2326 renderer.close_group('axes')
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/collections.py in draw(self, renderer)
813 def draw(self, renderer):
814 self.set_sizes(self._sizes, self.figure.dpi)
--> 815 Collection.draw(self, renderer)
816
817
/usr/lib/python3/dist-packages/matplotlib/artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
59 def draw_wrapper(artist, renderer, *args, **kwargs):
60 before(artist, renderer)
---> 61 draw(artist, renderer, *args, **kwargs)
62 after(artist, renderer)
63
/usr/lib/python3/dist-packages/matplotlib/collections.py in draw(self, renderer)
263 self.update_scalarmappable()
264
--> 265 transform, transOffset, offsets, paths = self._prepare_points()
266
267 gc = renderer.new_gc()
/usr/lib/python3/dist-packages/matplotlib/collections.py in _prepare_points(self)
236 offsets = list(zip(xs, ys))
237
--> 238 offsets = np.asanyarray(offsets, np.float_)
239 offsets.shape = (-1, 2) # Make it Nx2
240
/usr/local/lib/python3.5/dist-packages/numpy/core/numeric.py in asanyarray(a, dtype, order)
542
543 """
--> 544 return array(a, dtype, copy=False, order=order, subok=True)
545
546
ValueError: could not convert string to float: 'phwr'
<matplotlib.figure.Figure at 0x7f0388555320>