jaberg / skdata

Data sets for machine learning in Python
http://jaberg.github.com/skdata/
474 stars 149 forks source link

RFC: Dslang #51

Closed jaberg closed 12 years ago

jaberg commented 12 years ago

@npinto @poilvert

What do you think of this DSL to formalize experiment evaluation protocols? As you can see, it's optional... all the tasks & views & splits etc. that we've been talking about are still there unmodified, there's just a "dsl" attribute at the top level that formally specifies what the user is supposed to do. Maybe for performance reasons the user might not want to implement is learning algorithm as a visitor (as I showed in test_dslang) but at least for unit testing purposes this specifies exactly what the right answer is, even if the user wants to compute it some other way.