We should probably be escaping feature names internally. It's easy to
forget that graphviz supports HTML-like markup.
On 14 March 2016 at 08:00, Andreas Mueller wrote:
> Try escaping the &.
>
> On 03/12/2016 02:57 PM, Raphael C wrote:
> > The code snippet should have been
> >
> My book will actually have much less
> math (no linear algebra, no derivatives, no probabilities).
I think that’s a very good thing :). Based on your talks, which brings us back
to SciPy ;), I think it will be just great! I expect your book to be the
definitive guide to scikit-learn,
Just bought the book on amazon ;)
It's interesting. Have you read Marslands book by any chance?
It has a somewhat similar approach. My book will actually have much less
math (no linear algebra, no derivatives, no probabilities).
Let's see how that will go down lol.
I would base the material on
Try escaping the &.
On 03/12/2016 02:57 PM, Raphael C wrote:
> The code snippet should have been
>
>
> reg = DecisionTreeRegressor(max_depth=None,min_samples_split=1)
> reg.fit(X,Y)
> scores = cross_val_score(reg, X, Y)
> print scores
> dot_data = StringIO()
> tree.export_graphviz(reg,