Re: [Scikit-learn-general] Restrictions on feature names when drawing decision tree

2016-03-13 Thread Joel Nothman
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 > >

Re: [Scikit-learn-general] [Matplotlib-users] Scipy2016: call for proposals

2016-03-13 Thread Sebastian Raschka
> 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,

Re: [Scikit-learn-general] [Matplotlib-users] Scipy2016: call for proposals

2016-03-13 Thread Andreas Mueller
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

Re: [Scikit-learn-general] Restrictions on feature names when drawing decision tree

2016-03-13 Thread Andreas Mueller
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,