Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Fernando Perez
On Thu, Jul 5, 2012 at 10:24 AM, Gael Varoquaux wrote: > Do you have any plans to generate notebooks from enhanced valid Python > code? I would find that really handy as it would open the door to proving > notebook-like functionality without really depending on the notebook for > the development w

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Jacob VanderPlas
Olivier, Gael, Thanks for the detailed suggestions. The tutorial I'm preparing for is on Monday, July 16, so I'll be putting in a lot of effort in the next couple weeks. I think for present purposes, I'll plan to keep the tutorial and examples in the old paradigm of rst + source code with skel

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Gael Varoquaux
On Thu, Jul 05, 2012 at 10:19:49AM -0700, Fernando Perez wrote: > We've tried to make sure the format is as version control-friendly as > possible, within the limits of accepting that it's json. Do you have any plans to generate notebooks from enhanced valid Python code? I would find that really

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Fernando Perez
On Thu, Jul 5, 2012 at 9:34 AM, Gael Varoquaux wrote: > I am very clearly -1 on this suggestion for several reasons: You guys should definitely find a policy that works well for sklearn. I just want to provide some info here, not push for using notebooks in your default setup: > a. I worry very

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Gael Varoquaux
On Thu, Jul 05, 2012 at 06:47:35PM +0200, Olivier Grisel wrote: > None of this is doctested. And I don't want to put pollute the code > with boilerplate to make that testable. It's up to the teacher to > check that those exercises still work prior to using them in an > interactive session. I afrai

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Olivier Grisel
The tutorial itself and inline examples can stay in sphinx + doctests. I agree this is a great format for online publishing and maintenance checks using doctests. But converting the 3 or 4 short exercises in notebook format would be great: Here is the current code for the exercise snippets in my

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-05 Thread Gael Varoquaux
On Tue, Jul 03, 2012 at 12:24:43PM -0700, Jake Vanderplas wrote: > I turned in the first draft of my PhD thesis yesterday, Congratulations! > Should the loaders be moved to sklearn.datasets, so the data can be > used for general examples which are not associated with the tutorial? > Or do you thi

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-04 Thread Fernando Perez
On Tue, Jul 3, 2012 at 12:24 PM, Jake Vanderplas wrote: > 3) Currently the exercises follow the format that Olivier set up in his > tutorials, with a "skeleton" and a "solution" for each example script. > On Fernando's suggestion, I'd like to move to using ipython notebooks > for these examples.

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-04 Thread Olivier Grisel
2012/7/3 Jake Vanderplas : > Hi folks, > I turned in the first draft of my PhD thesis yesterday, Congrats :) > 1) The tutorial examples make use of several astronomy-specific > datasets. These primarily come from publicly available data at the > Sloan Digital Sky Survey [2], but I've done some p

Re: [Scikit-learn-general] Astronomy Tutorial

2012-07-03 Thread Stéfan van der Walt
Hi Jake On Tue, Jul 3, 2012 at 12:24 PM, Jake Vanderplas wrote: > 3) Currently the exercises follow the format that Olivier set up in his > tutorials, with a "skeleton" and a "solution" for each example script. > On Fernando's suggestion, I'd like to move to using ipython notebooks > for these ex

[Scikit-learn-general] Astronomy Tutorial

2012-07-03 Thread Jake Vanderplas
Hi folks, I turned in the first draft of my PhD thesis yesterday, so I finally have the time to address my long to-do list for scikit-learn! I'll be starting with finishing up my tutorial on machine learning for Astronomy [1]. First of all, lots of thanks to Jaques for doing a close read-thro