---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-3-7510326dc7f6> in <module>()
1 target = irisDf.Species
2 irisDf.drop('Species', 1, inplace=True)
----> 3 cm.cluster_analyze(irisDf)
/home/anand/playspace/data-science-utils/datascienceutils/clusteringModels.py in cluster_analyze(dataframe)
80 # plot
81 new_df = pd.DataFrame(X)
---> 82 plots.append(plotter.scatterplot(new_df, 0, 1, title='%s'%name))
83
84 if hasattr(algorithm, 'cluster_centers_'):
/home/anand/playspace/data-science-utils/datascienceutils/plotter.py in scatterplot(scatterDF, xcol, ycol, width, height, xlabel, ylabel, group, plttitle, **kwargs)
298
299 if not group:
--> 300 p.circle(scatterDF[xcol], scatterDF[ycol], size=5, **kwargs)
301 else:
302 groups = list(scatterDf[group].unique())
/home/anand/anaconda3/envs/analytics/lib/python3.5/site-packages/bokeh/plotting/helpers.py in func(self, *args, **kwargs)
491 hglyph_ca = None
492
--> 493 glyph = _make_glyph(glyphclass, kwargs, glyph_ca)
494 nsglyph = _make_glyph(glyphclass, kwargs, nsglyph_ca)
495 hglyph = _make_glyph(glyphclass, kwargs, hglyph_ca)
/home/anand/anaconda3/envs/analytics/lib/python3.5/site-packages/bokeh/plotting/helpers.py in _make_glyph(glyphclass, kws, extra)
168 kws = kws.copy()
169 kws.update(extra)
--> 170 return glyphclass(**kws)
171
172
/home/anand/anaconda3/envs/analytics/lib/python3.5/site-packages/bokeh/model.py in __init__(self, **kwargs)
84 self._id = kwargs.pop("id", make_id())
85 self._document = None
---> 86 super(Model, self).__init__(**kwargs)
87 default_theme.apply_to_model(self)
88
/home/anand/anaconda3/envs/analytics/lib/python3.5/site-packages/bokeh/core/properties.py in __init__(self, **properties)
705
706 for name, value in properties.items():
--> 707 setattr(self, name, value)
708
709 def equals(self, other):
/home/anand/anaconda3/envs/analytics/lib/python3.5/site-packages/bokeh/core/properties.py in __setattr__(self, name, value)
738
739 raise AttributeError("unexpected attribute '%s' to %s, %s attributes are %s" %
--> 740 (name, self.__class__.__name__, text, nice_join(matches)))
741
742 def set_from_json(self, name, json, models=None):
AttributeError: unexpected attribute 'title' to Circle, possible attributes are angle, angle_units, fill_alpha, fill_color, line_alpha, line_cap, line_color, line_dash, line_dash_offset, line_join, line_width, name, radius, radius_dimension, radius_units, size, tags, visible, x or y